templates: add i18n to basket template
This commit is contained in:
parent
3ebe27ca13
commit
b6f397d599
|
@ -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 %}
|
||||
|
|
Reference in New Issue