From 4068c5212ab1f48d3485d4205a604c7126509ed2 Mon Sep 17 00:00:00 2001 From: nanoy Date: Sun, 6 Jan 2019 05:35:28 +0100 Subject: [PATCH] =?UTF-8?q?Premi=C3=A8res=20ic=C3=B4nes?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- templates/nav.html | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/templates/nav.html b/templates/nav.html index 6a644d2..188251a 100644 --- a/templates/nav.html +++ b/templates/nav.html @@ -1,48 +1,49 @@ {% if request.user.is_authenticated %} - Mon profil + Mon profil {% if perms.gestion.add_consumptionhistory or perms.gestion.add_refund or perms.gestion.add_reload %} - Transactions + Transactions {% endif %} {% if perms.auth.add_user or perms.auth.view_user or perms.auth.add_group or perms.auth.view_group or perms.users.add_school or perms.users.view_school %} - Gestion des clients + Gestion des clients {% endif %} {% if perms.gestion.view_product or perms.gestion.add_product or perms.gestion.add_keg or perms.gestion.view_keg or perms.gestion.change_keg or perms.gestion.view_menu or perms.gestion.add_menu %} - Gestion des produits + Gestion des produits {% endif %} - Classement + Classement {% if perms.preferences.change_generalpreferences %} - Admin +
+ Admin
{% endif %} {% if request.user.is_staff %} - Comptabilité + Comptabilité {% endif %} {% if perms.preferences.view_cotisation %} - Cotisations + Cotisations {% endif %} {% if perms.preferences.view_cotisation %} - Moyens de paiement + Moyens de paiement {% endif %} - Deconnexion + Deconnexion {% else %} -Connexion + Connexion {% endif %}