From ffbbf8f8698e2030fc03d20371ebfa690dad6e30 Mon Sep 17 00:00:00 2001 From: Thomas Steen Rasmussen Date: Wed, 9 Nov 2016 17:04:03 +0100 Subject: [PATCH] only show comment when one was entered, after order is closed --- shop/templates/order_detail.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/shop/templates/order_detail.html b/shop/templates/order_detail.html index 0a223a05..303fb15d 100644 --- a/shop/templates/order_detail.html +++ b/shop/templates/order_detail.html @@ -64,8 +64,10 @@ +{% if order.open == None and order.customer_comment or order.open %}

Comment:

+{% endif %} {% if not order.open == None %} {% bootstrap_button "Update order" button_type="submit" button_class="btn-primary" name="update_order" %}