Permalink
Browse files

Added new blocks to thank-you template

  • Loading branch information...
1 parent 8eb6968 commit 0e1b6856f95e7a2615e605f15bb27d1c09ffe4b0 @codeinthehole codeinthehole committed May 9, 2012
Showing with 6 additions and 0 deletions.
  1. +6 −0 oscar/templates/checkout/thank_you.html
@@ -18,21 +18,25 @@ <h1>Confirmation for order #{{ order.number }}</h1>
<div class="row-fluid">
<div class="span6">
+ {% block shipping_info %}
<div class="well well-info">
<h3>Shipping</h3>
<p>Your order will be delivered to:</p>
{% for line in order.shipping_address.active_address_fields %}
{{ line }}<br/>
{% endfor %}
</div>
+ {% endblock %}
</div>
<div class="span6">
+ {% block payment_info %}
<div class="well well-success">
<h3>Payment</h3>
{% for source in order.sources.all %}
{{ source }}
{% endfor %}
</div>
+ {% endblock %}
</div>
</div>
<div class="sub-header">
@@ -66,6 +70,7 @@ <h4><a href="{{ line.product.get_absolute_url }}">{{ line.description }}</a></h4
</div>
</div>
{% endfor %}
+
{% for discount in order.discounts.all %}
<div class="basket-items">
<div class="row-fluid">
@@ -74,6 +79,7 @@ <h4 class="span11">{{ discount.offer }}</h4>
</div>
</div>
{% endfor %}
+
<div class="basket-items">
<div class="row-fluid">
<h4 class="span11">Basket total</h4>

0 comments on commit 0e1b685

Please sign in to comment.