templates: add i18n to basket template

This commit is contained in:
Frédéric Péters 2015-02-23 16:11:12 +01:00
parent 3ebe27ca13
commit b6f397d599
1 changed files with 3 additions and 2 deletions

View File

@ -1,9 +1,10 @@
{% load i18n %}
{% if total %}
<h3>Basket</h3>
<h3>{% trans "Basket" %}</h3>
<ul>
{% for item in items %}
<li>{{ item.subject }}: {{ item.amount }} €</li>
{% endfor %}
<li><strong>Total:</strong> {{ total }} €</li>
<li><strong>{% trans "Total:" %}</strong> {{ total }} €</li>
</ul>
{% endif %}