From 57a917339d8a1fb005467e0e657ebf9daa1fc098 Mon Sep 17 00:00:00 2001 From: justcool393 Date: Sat, 8 Oct 2022 02:31:18 -0700 Subject: [PATCH] gonna try and make it not broken i think whitespace is the issue here also fix grant- and bar- classes --- files/templates/userpage_admintools.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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'] %}