8
0
Fork 0
mirror of https://gitlab2.federez.net/re2o/re2o synced 2024-11-22 03:13:12 +00:00

has_access et pas actif

This commit is contained in:
chirac 2016-07-11 23:19:01 +02:00
parent 9959d63889
commit 5b7924f3f0
2 changed files with 2 additions and 2 deletions

View file

@ -89,7 +89,7 @@
<li>{{ request_user.name }} {{ request_user.surname }}</li>
<li>Pseudo : {{ request_user.pseudo }}</li>
<li>Chambre : {{ request_user.room }}</li>
<li>Connexion : {% if request_user.actif == True %}<font color="green">Active</font>{% else %}<font color="red">Désactivée</font>{% endif %}</li>
<li>Connexion : {% if request_user.has_access == True %}<font color="green">Active</font>{% else %}<font color="red">Désactivée</font>{% endif %}</li>
<li>Fin d'adhésion : {% if request_user.end_adhesion != None %}<font color="green">{{ request_user.end_adhesion }}</font>{% else %}<font color="red">Non adhérent</font>{% endif %}</li>
<p><a href="{% url "users:mon-profil" %}">Voir mon profil</a></p>
{% else %}

View file

@ -67,7 +67,7 @@
</tr>
<tr>
<th>Connexion</th>
{% if user.actif == True %}
{% if user.has_access == True %}
<td><font color="green">Active</font></td>
{% else %}
<td><font color="red">Désactivée</font></td>