Show admin status in user list
This commit is contained in:
parent
34685a741e
commit
3c7fc4b5f8
|
@ -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 }} — Last login: {{ user.last_login }}</p>
|
<p>Last activity: {{ user.last_activity }} — Last login: {{ user.last_login }}</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue