diff --git a/src/shop/templates/order_detail.html b/src/shop/templates/order_detail.html index b894065a..e1d90d72 100644 --- a/src/shop/templates/order_detail.html +++ b/src/shop/templates/order_detail.html @@ -13,7 +13,7 @@
{% csrf_token %} {% endif %} - +
@@ -66,18 +66,20 @@
- {% 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" %} +

Comment:

+

+ {% elif order.open == None and order.comment %} +
{{ order.comment }}
{% endif %} + {% if order.open %} + {% bootstrap_button "Update order" button_type="submit" button_class="btn-primary" name="update_order" %} + {% endif %} {% if not order.paid %} {% bootstrap_button "Cancel order" button_type="submit" button_class="btn-danger" name="cancel_order" %} {% endif %} + {% if order.paid %}