diff --git a/users/templates/users/profil.html b/users/templates/users/profil.html index 2029a526..9628097a 100644 --- a/users/templates/users/profil.html +++ b/users/templates/users/profil.html @@ -40,20 +40,28 @@ with this program; if not, write to the Free Software Foundation, Inc.,
{% endif %}
- {% if users.is_adherent %} -
-
Connécté
-
Fin de connexion: {{user.end_adhesion|date:"d M Y"}}
-
- {% else %} + {% if users.is_ban%}
-
Non connécté
+
Votre compte est banni
- - - Adhérer - + Fin du ban : {{user.end_ban|date:"d M Y"}} +
+
+ {% elif not users.is_adherent%} +
+
Non Connécté
+ + {% else %} +
+
Connécté
+
+ Fin de connexion: {{user.end_adhesion|date:"d M Y"}} +
{% endif %}
@@ -63,7 +71,10 @@ with this program; if not, write to the Free Software Foundation, Inc.,