From 77a8dd73ed2b811d406a369c15d47d3fe69ea7bc Mon Sep 17 00:00:00 2001 From: theresa Date: Wed, 12 Oct 2011 01:43:30 +0200 Subject: [PATCH] Buying history: Show pictures side-by-side instead of names --- .../buyable/templates/buyables/history.html | 33 +++++++++++-------- 1 file changed, 20 insertions(+), 13 deletions(-) diff --git a/k4ever/buyable/templates/buyables/history.html b/k4ever/buyable/templates/buyables/history.html index 7194808..d777fd6 100644 --- a/k4ever/buyable/templates/buyables/history.html +++ b/k4ever/buyable/templates/buyables/history.html @@ -26,34 +26,41 @@ - +
- + - + {% for order in history.object_list %} - - {% endfor %}
BuchungEinkaufEinkauf
BuchungEinkaufEinkauf
+ {{ order.dateTime|date:"Y-m-d H:i" }} -
    - {% for item in order.purchase_set.all %} -
  • - {{ item.buyable.name }}{% if item.isDeposit %} Pfand{% endif %} - zu {{ item.price|floatformat:2 }} € -
  • - {% endfor %} -
+
+ + + {% for item in order.purchase_set.all %} + + {% endfor %} + +
+ {% if not item.isDeposit %} + + {% else %} + {{ item.buyable.name }} Pfand + {% endif %} +
+ zu {{ item.price|floatformat:2 }} € +