diff --git a/files/templates/submission.html b/files/templates/submission.html index e08f4ba33..20375cd14 100644 --- a/files/templates/submission.html +++ b/files/templates/submission.html @@ -590,7 +590,7 @@ {% endif %} -{% if v and v.admin_level >= PERMS['POST_COMMENT_MODERATION'] %} +{% if v and v.admin_level >= PERMS['POST_COMMENT_MODERATION_TOOLS_VISIBLE'] %} {% include "post_admin_actions_mobile.html" %} {% endif %} @@ -902,7 +902,7 @@ - {% if v and v.admin_level >= PERMS['ADMIN_HOME_VISIBLE'] %} + {% if v and v.admin_level >= PERMS['POST_COMMENT_MODERATION_TOOLS_VISIBLE'] %} diff --git a/files/templates/userpage.html b/files/templates/userpage.html index a3a971c3a..9c72030cb 100644 --- a/files/templates/userpage.html +++ b/files/templates/userpage.html @@ -222,7 +222,7 @@ Make admin {% endif %} {% if v.admin_level >= PERMS['ADMIN_REMOVE'] %} - Remove admin + Remove admin {% endif %} {% if v.admin_level >= PERMS['ADMIN_ACTIONS_REVERT'] %} Revert admin actions @@ -336,43 +336,42 @@ {% endif %} {% endif %} - {% endif %}
- {% if v and v.admin_level >= PERMS['USER_AGENDAPOSTER'] %} - + {% if v and v.admin_level >= PERMS['USER_AGENDAPOSTER'] %} + + + Disable Chud Theme + {% endif %} - - Disable Chud Theme - {% endif %} + {% if v and v.admin_level >= PERMS['USER_BAN']} + Mute + Unmute + {% endif %} - {% if v and v.admin_level >= PERMS['USER_BAN']} - Mute - Unmute - - {% endif %} - {% if v and v.admin_level >= PERMS['POST_COMMENT_MODERATION'] %} - - - - {% endif %} - {% if FEATURES['COUNTRY_CLUB'] and v and v.admin_level >= PERMS['USER_CLUB_ALLOW_BAN'] %} - - - + {% if v and v.admin_level >= PERMS['POST_COMMENT_MODERATION'] %} + + + + {% endif %} + {% if FEATURES['COUNTRY_CLUB'] and v and v.admin_level >= PERMS['USER_CLUB_ALLOW_BAN'] %} + + + + {% endif %} {% endif %}