Commits

Cristian Ciupitu committed 8a366a2

Fixed "SyntaxError: Translation blocks must not include other block tags: blocktrans"

SyntaxError: Translation blocks must not include other block tags: blocktrans (file templates/shop/checkout/sermepa/confirm.html, line 32)
It happened with Django-1.3-2.fc15.noarch.

Comments (0)

Files changed (1)

satchmo/apps/payment/templates/shop/checkout/sermepa/confirm.html

 <input type="hidden" name="Ds_Merchant_ConsumerLanguage" value="2" />	{# English #}
 
 {% if order.partially_paid %}
-	<input type="hidden" name="Ds_Merchant_ProductDescription" value="{% blocktrans with order.id as order_id %}Remaining Balance for order #{{ order_id }}{% blocktrans %}" />
+	<input type="hidden" name="Ds_Merchant_ProductDescription" value="{% blocktrans with order.id as order_id %}Remaining Balance for order #{{ order_id }}{% endblocktrans %}" />
 {% else %}
-	<input type="hidden" name="Ds_Merchant_ProductDescription" value="{% blocktrans with order.id as order_id %}Order #{{ order_id }}{% blocktrans %}" />
+	<input type="hidden" name="Ds_Merchant_ProductDescription" value="{% blocktrans with order.id as order_id %}Order #{{ order_id }}{% endblocktrans %}" />
 {% endif %}
 
 <input type="hidden" name="Ds_Merchant_Amount" value="{{amount}}" />