Frederic
11 years ago
12 changed files with 260 additions and 58 deletions
@ -1,11 +1,12 @@ |
|||||||
{% extends "cash/base.html" %} |
{% extends "cash/base.html" %} |
||||||
{% load url from future %} |
{% load url from future %} |
||||||
|
{% load i18n %} |
||||||
|
|
||||||
|
|
||||||
{% block content %} |
{% block content %} |
||||||
|
|
||||||
<h1>Produkt kaufen</h1> |
<h1>{% trans "Buy product" %}</h1> |
||||||
|
|
||||||
Du kannst dieses Produkt nicht kaufen, da du das Schuldenlimit erreicht hast. |
{% blocktrans %}You cannot buy this product, as the debt limit has been reached.{% endblocktrans %} |
||||||
|
|
||||||
{% endblock %} |
{% endblock %} |
||||||
|
@ -1,12 +1,13 @@ |
|||||||
{% extends "cash/base.html" %} |
{% extends "cash/base.html" %} |
||||||
{% load url from future %} |
{% load url from future %} |
||||||
|
{% load i18n %} |
||||||
|
|
||||||
|
|
||||||
{% block content %} |
{% block content %} |
||||||
|
|
||||||
<h1>Produkt kaufen</h1> |
<h1>{% trans "Buy product" %}</h1> |
||||||
|
|
||||||
Vielen Dank fuer Ihren Einkauf! |
{% blocktrans %}Thanks for your purchase!{% endblocktrans %} |
||||||
|
|
||||||
{% endblock %} |
{% endblock %} |
||||||
|
|
||||||
|
@ -1,15 +1,16 @@ |
|||||||
{% extends "cash/base.html" %} |
{% extends "cash/base.html" %} |
||||||
{% load url from future %} |
{% load url from future %} |
||||||
|
{% load i18n %} |
||||||
|
|
||||||
|
|
||||||
{% block content %} |
{% block content %} |
||||||
|
|
||||||
<h1>Produktdetails</h1> |
<h1>{% trans "Product details" %}</h1> |
||||||
|
|
||||||
<table> |
<table> |
||||||
<tr><th>Name:</th><td>{{ product.name }}</td></tr> |
<tr><th>{% trans "Name" %}:</th><td>{{ product.name }}</td></tr> |
||||||
<tr><th>Preis:</th><td>{{ product.price }}</td></tr> |
<tr><th>{% trans "Price" %}:</th><td>{{ product.price }}</td></tr> |
||||||
<tr><th>Kategorie:</th><td>{{ product.category }}</td></tr> |
<tr><th>{% trans "Category" %}:</th><td>{{ product.category }}</td></tr> |
||||||
</table> |
</table> |
||||||
|
|
||||||
{% endblock %} |
{% endblock %} |
||||||
|
@ -1,9 +1,10 @@ |
|||||||
{% extends "cash/base.html" %} |
{% extends "cash/base.html" %} |
||||||
{% load url from future %} |
{% load url from future %} |
||||||
|
{% load i18n %} |
||||||
|
|
||||||
{% block content %} |
{% block content %} |
||||||
<h1>Einstellungen</h1> |
<h1>{% trans "Preferences" %}</h1> |
||||||
Die Einstellungen wurden erfolgreich gespeichert.<br/> |
{% blocktrans %}The settings have been saved successfully!{% endblocktrans %}<br/> |
||||||
<br/> |
<br/> |
||||||
<a href="{% url 'usersettings' %}">Zurück</a> |
<a href="{% url 'usersettings' %}">{% trans "Back" %}</a> |
||||||
{% endblock %} |
{% endblock %} |
||||||
|
Loading…
Reference in new issue