Show date and time of last login in user administration

This commit is contained in:
Kumi 2019-01-16 09:12:59 +01:00
parent 7a43fe1a1e
commit 81d024ceb1

View file

@ -71,6 +71,7 @@
<tr>
<th>Username</th>
<th>Real name</th>
<th>Last Login</th>
<th>Options</th>
</tr>
</thead>
@ -79,6 +80,7 @@
<tr>
<td><div style="display:inline;" {% if user.is_superuser %}title="{% for orga in auser.organizations %}{{ orga }}&#10;{% endfor %}"{% endif %}>{% if auser.is_staff %}<b>{% endif %}{{ auser.username }}{% if auser.is_staff %}</b>{% endif %}</div></td>
<td>{% if auser.is_staff %}<b>{% endif %}{{ auser.first_name }} {{ auser.last_name }}{% if auser.is_staff %}</b>{% endif %}</td>
<td>{{ auser.last_login }}</td>
<td><a href="/user/{{ auser.id }}/edit"><i class="fas fa-edit" title="Edit User"></i></a></td>
</tr>
{% endfor %}