Show admin status in user list

This commit is contained in:
Tim Van Baak 2021-06-15 23:33:25 -07:00
parent 34685a741e
commit 3c7fc4b5f8
1 changed files with 1 additions and 3 deletions

View File

@ -38,9 +38,7 @@
{% macro dashboard_user_item(user) %} {% macro dashboard_user_item(user) %}
<div class="dashboard-lexicon-item"> <div class="dashboard-lexicon-item">
<p> <p>
<b>{{ user.username }}</b> <b>{{ user.username }}</b> {% if user.username != user.display_name %} / {{ user.display_name }}{% endif %} (id #{{user.id}}){% if user.is_site_admin %} <b>[ADMIN]</b>{% endif %}
{% if user.username != user.display_name %} / {{ user.display_name }}{% endif %}
(id #{{user.id}})
</p> </p>
<p>Last activity: {{ user.last_activity }} &mdash; Last login: {{ user.last_login }}</p> <p>Last activity: {{ user.last_activity }} &mdash; Last login: {{ user.last_login }}</p>
</div> </div>