mirror of
https://gitlab2.federez.net/re2o/re2o
synced 2024-09-12 01:03:09 +00:00
has_access et pas actif
This commit is contained in:
parent
9959d63889
commit
5b7924f3f0
2 changed files with 2 additions and 2 deletions
|
@ -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 %}
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue