diff --git a/files/templates/userpage_admintools.html b/files/templates/userpage_admintools.html index 492ed8630..640aa1a46 100644 --- a/files/templates/userpage_admintools.html +++ b/files/templates/userpage_admintools.html @@ -1,4 +1,4 @@ -{% macro userBanBlock(deviceType) -%} +{% macro userBanBlock(deviceType) %} {% if u.is_suspended %}
BANNED USER {% if u.ban_reason %}: @@ -18,9 +18,9 @@ (by @{{u.shadowbanned}})
{% endif %} -{%- endmacro %} +{% endmacro %} -{% macro userAdminToolsUpper(deviceType) -%} +{% macro userAdminToolsUpper(deviceType) %} {% if v and v.id != u.id and v.admin_level >= PERMS['USER_MODERATION_TOOLS_VISIBLE'] %} {% if v.admin_level >= PERMS['ADMIN_ADD'] and SITE != 'rdrama.net' %} Make admin @@ -32,7 +32,7 @@ Revert admin actions {% endif %} {% endif %} -{%- endmacro %} +{% endmacro %} {% macro userAdminToolsLower(deviceType) -%} {% if v and v.id != u.id and v.admin_level >= PERMS['USER_MODERATION_TOOLS_VISIBLE'] %}