diff --git a/files/helpers/const.py b/files/helpers/const.py
index 274817246..0045a579b 100644
--- a/files/helpers/const.py
+++ b/files/helpers/const.py
@@ -190,7 +190,7 @@ PERMS = { # Minimum admin_level to perform action.
'MESSAGE_BLOCKED_USERS': 1,
'APPS_MODERATION': 3,
'STREAMERS_MODERATION': 2,
- 'UNKNOWN_ADMIN_LEVEL2_PERM4': 2,
+ 'UNKNOWN_ADMIN_LEVEL2_PERM4': 2, # TODO: figure out what this is and remove it if unnecessary
}
FEATURES = {
diff --git a/files/templates/userpage.html b/files/templates/userpage.html
index f34c39b59..d5222408e 100644
--- a/files/templates/userpage.html
+++ b/files/templates/userpage.html
@@ -270,7 +270,7 @@
Toggle anthem
{% endif %}
- {% if v and v.id != u.id and v.admin_level >= PERMS['ADMIN_HOME_VISIBLE'] %}
+ {% if v and v.id != u.id and v.admin_level >= PERMS['USER_MODERATION_TOOLS_VISIBLE'] %}
True score: {{u.truecoins}}
Winnings: {{u.winnings}}
{% if u.is_private %} -User has private mode enabled.
+User has private mode enabled
{% endif %} {% if v and (v.admin_level >= PERMS['VIEW_ALTS'] or v.alt) %} Alts: @@ -711,34 +705,34 @@ {% endif %} - - + {% if v.admin_level >= PERMS['USER_AGENDAPOSTER'] %} + + + Disable Chud Theme + + {% endif %} + {% if v.admin_level >= PERMS['USER_BAN'] %} + Mute + Unmute + {% endif %} - - Disable Chud Theme - - - - Mute - - Unmute - - - - - + {% if v.admin_level >= PERMS['POST_COMMENT_MODERATION'] %} + + + + {% endif %} {% endif %} {% endif %} @@ -748,7 +742,7 @@True score: {{u.truecoins}}
Winnings: {{u.winnings}}
{% if u.is_private %} -User has private mode enabled.
+User has private mode enabled
{% endif %} {% if v and (v.admin_level >= PERMS['VIEW_ALTS'] or v.alt) %} Alts: