mirror of
https://gitlab2.federez.net/re2o/re2o
synced 2024-11-05 01:16:27 +00:00
Affiche l'attribut dernière connexion
This commit is contained in:
parent
55cd3b3dbb
commit
d4e8da7115
1 changed files with 7 additions and 3 deletions
|
@ -67,11 +67,11 @@
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<th>Connexion</th>
|
<th>Accès internet</th>
|
||||||
{% if user.has_access == True %}
|
{% if user.has_access == True %}
|
||||||
<td><font color="green">Active</font></td>
|
<td><font color="green">Actif</font></td>
|
||||||
{% else %}
|
{% else %}
|
||||||
<td><font color="red">Désactivée</font></td>
|
<td><font color="red">Désactivé</font></td>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<th>Droits</th>
|
<th>Droits</th>
|
||||||
{% if list_droits %}
|
{% if list_droits %}
|
||||||
|
@ -79,6 +79,10 @@
|
||||||
{% else %}
|
{% else %}
|
||||||
<td>Aucun</td>
|
<td>Aucun</td>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
<tr>
|
||||||
|
<th>Dernière connexion</th>
|
||||||
|
<td>{{ user.last_login }}</td>
|
||||||
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
<h2>Machines :</h2>
|
<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>
|
<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>
|
||||||
|
|
Loading…
Reference in a new issue