Fixed issue with multiline with template statement

This commit is contained in:
M.Ravi 2017-09-15 18:16:12 +02:00
parent aab9464c6f
commit 67f0e9068d

View file

@ -66,8 +66,7 @@
{{order.billing_address.city}}, {{order.billing_address.city}},
{{order.billing_address.country}}. {{order.billing_address.country}}.
{% else %} {% else %}
{% with request.session.billing_address_data as {% with request.session.billing_address_data as billing_address %}
billing_address %}
{{billing_address|get_value_from_dict:'cardholder_name'}}<br> {{billing_address|get_value_from_dict:'cardholder_name'}}<br>
{{billing_address|get_value_from_dict:'street_address'}}, {{billing_address|get_value_from_dict:'street_address'}},
{{billing_address|get_value_from_dict:'postal_code'}}<br> {{billing_address|get_value_from_dict:'postal_code'}}<br>
@ -123,7 +122,7 @@
<hr> <hr>
<h4>{% trans "Total"%} <h4>{% trans "Total"%}
<p class="pull-right"> <p class="pull-right">
<b>{{vm.price}}CHF</b> <b>{{vm.price}} CHF</b>
<span class="dcl-price-month"> /{% trans "Month" %} <span class="dcl-price-month"> /{% trans "Month" %}
</span> </span>
</p> </p>