user active date on profile

This commit is contained in:
rimu 2024-08-18 13:21:00 +12:00
parent 3cc220d1a2
commit 7458be190f

View file

@ -90,6 +90,7 @@
</div>
<p class="small">{{ _('Joined') }}: {{ moment(user.created).fromNow(refresh=True) }}<br />
{% if current_user.is_authenticated and current_user.is_admin() and user.last_seen %}{{ _('Active') }}: {{ moment(user.last_seen).fromNow(refresh=True) }}<br />{% endif %}
{% if user.bot %}
{{ _('Bot Account') }}<br />
{% endif %}