From b7b31c23d7b45ca50cadb869160914772253a7ce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexis=20M=C3=83taireau?= Date: Tue, 7 Apr 2020 20:03:33 +0200 Subject: [PATCH] Display better out of stock items --- copanier/templates/includes/delivery_table.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/copanier/templates/includes/delivery_table.html b/copanier/templates/includes/delivery_table.html index e72c64f..5c7267c 100644 --- a/copanier/templates/includes/delivery_table.html +++ b/copanier/templates/includes/delivery_table.html @@ -43,7 +43,7 @@ {% for product in delivery.get_products_by(producer) %} - {% if edit_mode %}{% endif %}{% if edit_mode %} {% endif %}{{ product }}{% if edit_mode %}{% endif %}{% if product.rupture %} {{ product.rupture }}{% endif %} + {% if edit_mode %}{% endif %}{% if edit_mode %} {% endif %}{% if product.rupture %} (rupture){% endif %} {{ product }}{% if edit_mode %}{% endif %} {{ product.price | round(2) }} € {% if delivery.has_packing %} {% if product.packing %}{{ product.packing }} x {% endif %} {{ product.unit }}