8
0
Fork 0
mirror of https://gitlab2.federez.net/re2o/re2o synced 2024-12-25 08:23:46 +00:00

has_access et pas actif

This commit is contained in:
Gabriel Detraz 2016-07-11 23:19:01 +02:00
parent 684a44aae0
commit 29cebaaeed
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>