diff --git a/copanier/static/app.css b/copanier/static/app.css index bd04af8..c0f4cd2 100644 --- a/copanier/static/app.css +++ b/copanier/static/app.css @@ -566,7 +566,8 @@ details summary { } .rupture { - background-color: #ff000083; + background-color: #ff000083 !important; + text-decoration: line-through; } .list-emails { diff --git a/copanier/templates/includes/delivery_progress.html b/copanier/templates/includes/delivery_progress.html new file mode 100644 index 0000000..af4d04d --- /dev/null +++ b/copanier/templates/includes/delivery_progress.html @@ -0,0 +1,10 @@ + +
\ No newline at end of file diff --git a/copanier/templates/includes/order_summary.html b/copanier/templates/includes/order_summary.html index d7554a7..efd1581 100644 --- a/copanier/templates/includes/order_summary.html +++ b/copanier/templates/includes/order_summary.html @@ -2,10 +2,11 @@ Produit{% if display_prices %}Prix unitaire{% endif %}Quantité {% for product in delivery.products %} {% if order[product].quantity %} - - {{ product }} + + {{ product }}{% if product.rupture %} (rupture){% endif %} {% if display_prices %}{{ product.price | round(2) }} €{% endif %}{{ order[product].quantity }} x {{ product.unit }} + {% if product.rupture %}{% endif %} {% endif %} {% endfor %}