diff --git a/.gitignore b/.gitignore index db58cd0..5636e54 100644 --- a/.gitignore +++ b/.gitignore @@ -10,3 +10,4 @@ k4ever/media/img/ k4ever/settings.py *.kdev4 .kdev4 +*.kate-swp diff --git a/k4ever/buyable/templates/buyables/history.html b/k4ever/buyable/templates/buyables/history.html index 920668c..b83db00 100644 --- a/k4ever/buyable/templates/buyables/history.html +++ b/k4ever/buyable/templates/buyables/history.html @@ -14,97 +14,59 @@ {% block "content" %} {% if history %} -
-

Frühere Einkäufe von {{ user }}

+

Frühere Einkäufe von {{ user }}

+ + - - - + +
+ + + + - + - + - {% for order in history.object_list %} - - - - - {% endfor %} -
BuchungEinkaufEinkauf
BuchungEinkaufEinkauf
- {{ order.dateTime|date:"Y-m-d H:i" }} - - - - {% for item in order.purchase_set.all %} - - {% endfor %} - -
- {% if not item.isDeposit %} - - {% else %} - {{ item.buyable.name }} Pfand - {% endif %} -
- zu {{ item.price|floatformat:2 }} € -
-
- + {% for order in history.object_list %} + + {{ order.dateTime|date:"j. F Y H:i" }} + +
+ + {% endfor %} + + {% else %}

{{ default|default_if_none:"Noch keine gekauft" }}

{% endif %} diff --git a/k4ever/buyable/templates/buyables/showItem.html b/k4ever/buyable/templates/buyables/showItem.html index a40d251..d642a2e 100644 --- a/k4ever/buyable/templates/buyables/showItem.html +++ b/k4ever/buyable/templates/buyables/showItem.html @@ -13,7 +13,7 @@ {% block "content" %} - Zur Liste aller Items + Zur Liste aller Produkte {% if item %}
diff --git a/k4ever/buyable/templates/buyables/showItems.html b/k4ever/buyable/templates/buyables/showItems.html index ba04815..695025d 100644 --- a/k4ever/buyable/templates/buyables/showItems.html +++ b/k4ever/buyable/templates/buyables/showItems.html @@ -10,14 +10,20 @@ {% endcomment %} {% block "content" %} -
-

Sortieren nach

- Letzte Änderung - Alphabet - Preis
+

Produktübersicht

+ -
- {% include "buyables/product_list.html" with buyables=items %} -
+ {% include "buyables/product_list.html" with buyables=items %} {% endblock %} diff --git a/k4ever/main/templates/base.html b/k4ever/main/templates/base.html index a496239..cf670fe 100644 --- a/k4ever/main/templates/base.html +++ b/k4ever/main/templates/base.html @@ -18,39 +18,27 @@ - + + {% block extrahead %}{% endblock %} {% endblock head %} Freitagsrundenkasse{% block "title" %}{% endblock %} -