8
0
Fork 0
mirror of https://gitlab2.federez.net/re2o/re2o synced 2024-12-28 09:53:47 +00:00

Affiche l'attribut dernière connexion

This commit is contained in:
chirac 2016-11-04 03:03:15 +01:00
parent 55cd3b3dbb
commit d4e8da7115

View file

@ -67,11 +67,11 @@
{% endif %}
</tr>
<tr>
<th>Connexion</th>
<th>Accès internet</th>
{% if user.has_access == True %}
<td><font color="green">Active</font></td>
<td><font color="green">Actif</font></td>
{% else %}
<td><font color="red">Désactivée</font></td>
<td><font color="red">Désactivé</font></td>
{% endif %}
<th>Droits</th>
{% if list_droits %}
@ -79,6 +79,10 @@
{% else %}
<td>Aucun</td>
{% endif %}
<tr>
<th>Dernière connexion</th>
<td>{{ user.last_login }}</td>
</tr>
</table>
<h2>Machines :</h2>
<h4><a class="btn btn-primary btn-sm" role="button" href="{% url 'machines:new-machine' user.id %}"><i class="glyphicon glyphicon-phone"></i> Ajouter une machine</a></h4>