mirror of
https://gitlab.crans.org/mediatek/med.git
synced 2025-06-30 06:31:11 +02:00
Remove user states
This commit is contained in:
@ -93,12 +93,10 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
||||
</tr>
|
||||
<tr>
|
||||
<th>Statut</th>
|
||||
{% if user.state == 0 %}
|
||||
{% if user.is_active %}
|
||||
<td><font color="green">Actif</font></td>
|
||||
{% elif user.state == 1 %}
|
||||
<td><font color="red">Désactivé</font></td>
|
||||
{% else %}
|
||||
<td><font color="orange">Archivé</font></td>
|
||||
<td><font color="red">Désactivé</font></td>
|
||||
{% endif %}
|
||||
<th>Dernière connexion</th>
|
||||
<td>{{ user.last_login }}</td>
|
||||
|
Reference in New Issue
Block a user