From 8c60d476ecfaebf411806191b3794b32ad5947a6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=AD=C3=B0ir=20Valberg=20Gu=C3=B0mundsson?= Date: Tue, 31 May 2016 19:55:33 +0200 Subject: [PATCH] Fix #19 --- shop/templates/order_list.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/shop/templates/order_list.html b/shop/templates/order_list.html index 022ab96c..61d1c835 100644 --- a/shop/templates/order_list.html +++ b/shop/templates/order_list.html @@ -19,6 +19,7 @@ {% for order in orders %} + {% if order.products.exists %} {{ order.id }} {{ order.get_number_of_items }} @@ -43,6 +44,7 @@ {% endif %} + {% endif %} {% endfor %}