diff --git a/files/templates/userpage_admintools.html b/files/templates/userpage_admintools.html index 5724aec0b..d65ec6e53 100644 --- a/files/templates/userpage_admintools.html +++ b/files/templates/userpage_admintools.html @@ -1,23 +1,23 @@ {% macro userBanBlock(deviceType) -%} {% if u.is_suspended %} -
BANNED USER - {% if u.ban_reason %}: - {{u.ban_reason | safe}} - {% endif %} - (by @{{u.banned_by.username}}) -
- {% if u.unban_utc %} -
{{u.unban_string}}
- {% endif %} +
BANNED USER + {% if u.ban_reason %}: + {{u.ban_reason | safe}} {% endif %} - {% if v and v.admin_level >= PERMS['USER_SHADOWBAN'] and u.shadowbanned %} -
SHADOWBANNED USER - {% if u.ban_reason %}: - {{u.ban_reason | safe}} - {% endif %} - (by @{{u.shadowbanned}}) -
+ (by @{{u.banned_by.username}}) + + {% if u.unban_utc %} +
{{u.unban_string}}
{% endif %} + {% endif %} + {% if v and v.admin_level >= PERMS['USER_SHADOWBAN'] and u.shadowbanned %} +
SHADOWBANNED USER + {% if u.ban_reason %}: + {{u.ban_reason | safe}} + {% endif %} + (by @{{u.shadowbanned}}) +
+ {% endif %} {%- endmacro %} {% macro userAdminToolsLower(deviceType) -%}