From 0c2e2f5444db04ac95fe1c9ce4762a8d583a74b0 Mon Sep 17 00:00:00 2001 From: Yohan Boniface Date: Tue, 16 Apr 2019 21:07:25 +0200 Subject: [PATCH] Explicit "ajust" button in delivery page --- copanier/static/app.css | 4 +++- copanier/templates/delivery.html | 3 +-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/copanier/static/app.css b/copanier/static/app.css index 35b4435..9b197de 100644 --- a/copanier/static/app.css +++ b/copanier/static/app.css @@ -374,7 +374,9 @@ th.missing { background-color: #db7734; } .missing a { - color: #ddd; + color: #f1f1f1; + border-color: #f1f1f1; + height: 1rem; } hr { background-color: #dbdbdb; diff --git a/copanier/templates/delivery.html b/copanier/templates/delivery.html index 5451311..c5a5e22 100644 --- a/copanier/templates/delivery.html +++ b/copanier/templates/delivery.html @@ -36,9 +36,8 @@ {% endif %} {{ delivery.product_wanted(product) }} - {% if request.user.is_staff %}{% endif %} {% if delivery.status == delivery.ADJUSTMENT and delivery.product_missing(product) %} (−{{ delivery.product_missing(product) }}) - {% if request.user.is_staff %}{% endif %} + {% if request.user.is_staff %}ajuster{% endif %} {% endif %} {% for email, order in delivery.orders.items() %}