From 5b7924f3f06c9a1ec80def7a8c6a1f7458e1d407 Mon Sep 17 00:00:00 2001 From: chirac Date: Mon, 11 Jul 2016 23:19:01 +0200 Subject: [PATCH] has_access et pas actif --- templates/base.html | 2 +- users/templates/users/profil.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/base.html b/templates/base.html index f734fd74..eddf6595 100644 --- a/templates/base.html +++ b/templates/base.html @@ -89,7 +89,7 @@
  • {{ request_user.name }} {{ request_user.surname }}
  • Pseudo : {{ request_user.pseudo }}
  • Chambre : {{ request_user.room }}
  • -
  • Connexion : {% if request_user.actif == True %}Active{% else %}Désactivée{% endif %}
  • +
  • Connexion : {% if request_user.has_access == True %}Active{% else %}Désactivée{% endif %}
  • Fin d'adhésion : {% if request_user.end_adhesion != None %}{{ request_user.end_adhesion }}{% else %}Non adhérent{% endif %}
  • Voir mon profil

    {% else %} diff --git a/users/templates/users/profil.html b/users/templates/users/profil.html index 56035c35..dd0b08d2 100644 --- a/users/templates/users/profil.html +++ b/users/templates/users/profil.html @@ -67,7 +67,7 @@ Connexion - {% if user.actif == True %} + {% if user.has_access == True %} Active {% else %} Désactivée