diff --git a/app/templates/base.html b/app/templates/base.html index fb729fca..4070cce7 100644 --- a/app/templates/base.html +++ b/app/templates/base.html @@ -7,7 +7,7 @@ [deleted] {% endif -%} {% else -%} - + {% if user.avatar_id and not low_bandwidth and not collapsed -%} {% endif -%} diff --git a/app/templates/user/user_preview.html b/app/templates/user/user_preview.html index cdb7208a..fa98f797 100644 --- a/app/templates/user/user_preview.html +++ b/app/templates/user/user_preview.html @@ -12,7 +12,7 @@
-

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

{{ _('Instance') }}: {{ user.instance_domain() }} {% if user.is_instance_admin() or (user.is_local() and user.is_admin()) %}({{ _('Admin') }}){% endif %}
{% if user.is_admin() or user.is_staff() %}{{ _('Role permissions') }}: {% if user.is_admin() %}{{ _('Admin') }}{% endif %} {% if user.is_staff() %}{{ _('Staff') }}{% endif %}
{% endif %} {{ _('Joined') }}: {{ arrow.get(user.created).humanize(locale=locale) }}
@@ -31,6 +31,21 @@

{{ user.about_html|safe }}
+ {% if user.extra_fields -%} + + {% endif -%}