Browse Source

Ensure predicate fields have ? at end of verbose name

master
David Winterbottom 12 years ago
parent
commit
0ebca2da1e

+ 4
- 1
oscar/apps/catalogue/abstract_models.py View File

@@ -332,7 +332,10 @@ class AbstractProduct(models.Model):
332 332
     #: Determines if a product may be used in an offer. It is illegal to
333 333
     #: discount some types of product (e.g. ebooks) and this field helps
334 334
     #: merchants from avoiding discounting such products
335
-    is_discountable = models.BooleanField(_("Is Discountable"), default=True)
335
+    is_discountable = models.BooleanField(
336
+        _("Is discountable?"), default=True, help_text=(
337
+            "This flag indicates if this product can be used in an offer "
338
+            "or not"))
336 339
 
337 340
     objects = ProductManager()
338 341
     browsable = BrowsableProductManager()

+ 8
- 8
oscar/templates/oscar/basket/basket.html View File

@@ -8,13 +8,13 @@
8 8
 {% endblock %}
9 9
 
10 10
 {% block breadcrumbs %}
11
-<ul class="breadcrumb">
12
-	<li>
13
-		<a href="{% url 'promotions:home' %}">{% trans "Home" %}</a>
14
-        <span class="divider">/</span>
15
-    </li>
16
-    <li class="active">{% trans "Basket" %}</li>
17
-</ul>
11
+    <ul class="breadcrumb">
12
+        <li>
13
+            <a href="{% url 'promotions:home' %}">{% trans "Home" %}</a>
14
+            <span class="divider">/</span>
15
+        </li>
16
+        <li class="active">{% trans "Basket" %}</li>
17
+    </ul>
18 18
 {% endblock %}
19 19
 
20 20
 {# Hide mini-basket so we don't have two baskets to keep in sync #}
@@ -33,7 +33,7 @@
33 33
     {{ block.super }}
34 34
     {# We pass in the URL to send AJAX requests to #}
35 35
     var options = {
36
-        'basketURL': '{% url 'basket:summary' %}'
36
+    'basketURL': '{% url 'basket:summary' %}'
37 37
     };
38 38
     oscar.basket.init(options);
39 39
 {% endblock %}

Loading…
Cancel
Save