From 106c79e600c047535fcfa1855d48534ef9e76cae Mon Sep 17 00:00:00 2001 From: Hendrik L Date: Tue, 3 Dec 2024 13:05:55 +0100 Subject: [PATCH] flag instance admins in user profiles (fixes #364) --- app/templates/user/show_profile.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/templates/user/show_profile.html b/app/templates/user/show_profile.html index 122c2e42..cf2158be 100644 --- a/app/templates/user/show_profile.html +++ b/app/templates/user/show_profile.html @@ -104,7 +104,8 @@ {% endif %} -

{{ _('Instance') }}: {{ user.instance_domain() }}
+

{{ _('Instance') }}: {{ user.instance_domain() }} + {% if user.is_instance_admin() %}({{ _('Admin') }}){% endif %}
{{ _('Joined') }}: {{ arrow.get(user.created).humanize(locale=locale) }}
{% if current_user.is_authenticated and current_user.is_admin() and user.last_seen %}{{ _('Active') }}: {{ arrow.get(user.last_seen).humanize(locale=locale) }}
{% endif %} {% if user.bot %}