Commit f2d2262e by Vedran Karacic Committed by Vedran Karačić

Factor out seat type from client side checkout basket template.

parent 52622541
...@@ -21,13 +21,7 @@ ...@@ -21,13 +21,7 @@
</div> </div>
<div class="product-information col-sm-7 col-xs-7"> <div class="product-information col-sm-7 col-xs-7">
<p class="product-name">{{ line_data.product_title }}</p> <p class="product-name">{{ line_data.product_title }}</p>
{% if line_data.seat_type %} {% include 'oscar/basket/partials/seat_type.html' %}
<p class="seat-type">
{% blocktrans with seat_type=line_data.seat_type %}
{{ seat_type }} Certificate
{% endblocktrans %}
</p>
{% endif %}
</div> </div>
{% if line_data.enrollment_code %} {% if line_data.enrollment_code %}
<div class="col-sm-12 col-xs-12 form-inline quantity-group"> <div class="col-sm-12 col-xs-12 form-inline quantity-group">
......
{% load i18n %}
{% if line_data.seat_type %}
<p class="seat-type">
{% blocktrans with seat_type=line_data.seat_type %}
{{ seat_type }} Certificate
{% endblocktrans %}
</p>
{% endif %}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment