ソースを参照

Fix template bug with offer upsell message

Wrong variable in blocktrans.  Also wrapped content in well block to
make a distinction from other content on the basket page
master
David Winterbottom 13年前
コミット
cf043e4621
1個のファイルの変更4行の追加2行の削除
  1. 4
    2
      oscar/templates/oscar/basket/basket.html

+ 4
- 2
oscar/templates/oscar/basket/basket.html ファイルの表示

@@ -27,12 +27,14 @@
27 27
 {% endif %}
28 28
 
29 29
 {% if upsell_messages %}
30
-<h2>{% trans "You could be missing out on offers!" %}</h2>
30
+<div class="well">
31
+	<h2>{% trans "You could be missing out on offers!" %}</h2>
31 32
 	{% for upsell in upsell_messages %}
32 33
     {% blocktrans with message=upsell.message url=upsell.offer.get_absolute_url offer_name=upsell.offer.name %}
33
-	<div class="warning">{{ upsell_message }} to qualify for the <a href="{{ url }}">{{ offer_name }}</a> special offer</div>
34
+	<div class="warning">{{ message }} to qualify for the <a href="{{ url }}">{{ offer_name }}</a> special offer</div>
34 35
     {% endblocktrans %}
35 36
 	{% endfor %}
37
+</div>
36 38
 {% endif %}
37 39
 
38 40
 {% if not basket.is_empty %}

読み込み中…
キャンセル
保存