From 8a3adcc99b6265b9d174400e526d9aed95105dfa Mon Sep 17 00:00:00 2001 From: Hugo LEVY-FALK Date: Sat, 27 Jan 2018 17:46:58 +0100 Subject: [PATCH] Couleurs dans les informations. --- users/templates/users/profil.html | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/users/templates/users/profil.html b/users/templates/users/profil.html index 21e455db..fe0b6c55 100644 --- a/users/templates/users/profil.html +++ b/users/templates/users/profil.html @@ -32,19 +32,29 @@ with this program; if not, write to the Free Software Foundation, Inc.,

Vous êtes {% if users.end_adhesion != None %} + un {{ users.class_name | lower}} + {% else %} + non adhérent + {% endif %} et votre connexion est {% if users.has_access %} + active. + {% else %} + désactivée. + {% endif %}

-
+ + +