1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2024-11-01 03:54:15 +00:00

show last login time of users

This commit is contained in:
catborise 2023-10-06 16:15:35 +03:00
parent 4a4a998d4c
commit e47d909e41

View file

@ -30,6 +30,7 @@
<tr> <tr>
<th span="col">{% trans "Username" %}</th> <th span="col">{% trans "Username" %}</th>
<th span="col">{% trans "Status" %}</th> <th span="col">{% trans "Status" %}</th>
<th span="col">{% trans "Last Login" %}</th>
<th span="col">{% trans "Staff" %}</th> <th span="col">{% trans "Staff" %}</th>
<th span="col">{% trans "Superuser" %}</th> <th span="col">{% trans "Superuser" %}</th>
<th span="col">{% trans "Can Clone" %}</th> <th span="col">{% trans "Can Clone" %}</th>
@ -50,6 +51,7 @@
{% trans "Blocked" %} {% trans "Blocked" %}
{% endif %} {% endif %}
</td> </td>
<td>{{ user.last_login }}</td>
<td>{% if user.is_staff %}{% bs_icon 'check' %}{% endif %}</td> <td>{% if user.is_staff %}{% bs_icon 'check' %}{% endif %}</td>
<td>{% if user.is_superuser %}{% bs_icon 'check' %}</span>{% endif %}</td> <td>{% if user.is_superuser %}{% bs_icon 'check' %}</span>{% endif %}</td>
<td>{% if can_clone %}{% bs_icon 'check' %}{% endif %}</td> <td>{% if can_clone %}{% bs_icon 'check' %}{% endif %}</td>