From 2497686abef35e1aac5c91e73ea594fcfd252a63 Mon Sep 17 00:00:00 2001 From: Feliciaan De Palmenaer Date: Wed, 24 Jun 2015 22:24:21 +0200 Subject: [PATCH] Better table Fixes #58 --- app/templates/order.html | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/app/templates/order.html b/app/templates/order.html index 0c1842f..974a0c2 100644 --- a/app/templates/order.html +++ b/app/templates/order.html @@ -62,15 +62,14 @@

Items

- {% if courier_or_admin %}{% endif %} + {% if courier_or_admin %}{% endif %} {% for item in order.items -%} - + - {% if courier_or_admin %}{% endif %}
NameItemPriceExtraPaid?Delete
NameItemPricePaid?Delete
{{ item.get_name() }}{{ item.product.name }}{{ item.product.name }}{{ "*" if item.extra }} {{ item.product.price|euro }}{{ item.extra if item.extra }}{% if not item.paid %} Pay {% else %} {% endif %}{% if item.can_delete(order.id, current_user.id, session.get('anon_name', '')) -%}{%- endif %}