From 08e9d4590c478940a9ab4d6c70ad2793b7c111be Mon Sep 17 00:00:00 2001 From: theresa Date: Wed, 12 Oct 2011 02:10:58 +0200 Subject: [PATCH] List of previous transactions: Make items align --- .../templates/transaction/overview.html | 65 ++++++++++++++----- 1 file changed, 50 insertions(+), 15 deletions(-) diff --git a/k4ever/transaction/templates/transaction/overview.html b/k4ever/transaction/templates/transaction/overview.html index 8102c2c..4ff0c7b 100644 --- a/k4ever/transaction/templates/transaction/overview.html +++ b/k4ever/transaction/templates/transaction/overview.html @@ -26,20 +26,55 @@

Vergangene Transaktionen:

- {% for transaction in history %} - {% if forloop.first and transacted %} - - {% endif %} - [ {{ transaction.dateTime }} ] {{ transaction.amount|floatformat:2 }} € durch {{ transaction.transactionType }} - {% if not transaction.transactionType.needsCheck or transaction.checked %} - eingegangen - {% else %} - aber noch nicht bestätigt - {% endif %} - {% if forloop.first and transacted %} - - {% endif %} -
- {% endfor %} + + {% comment %} + + + + + + + + {% endcomment %} + + {% for transaction in history %} + + + + + + {% if forloop.first and transacted %} + + {% endif %} + + {% endfor %} +
+ Datum + + Uhrzeit + + Betrag + + Typ + + Status +
+ {% if forloop.first and transacted %} + + {% endif %} + [ {{ transaction.dateTime|date:"j. M Y" }}, + + {{ transaction.dateTime|date:"H:i" }} Uhr ] + + {{ transaction.amount|floatformat:2 }}€ + + durch {{ transaction.transactionType }} + + {% if not transaction.transactionType.needsCheck or transaction.checked %} + eingegangen + {% else %} + aber noch nicht bestätigt + {% endif %} +
{% endblock %}