diff --git a/files/templates/comments.html b/files/templates/comments.html index fefc030e2..95c3d504a 100644 --- a/files/templates/comments.html +++ b/files/templates/comments.html @@ -490,7 +490,7 @@ {% endif %} -{% if v.admin_level > 1 and c.oauth_app %} +{% if v.admin_level >= PERMS['APPS_MODERATE'] and c.oauth_app %} API App {% endif %} @@ -567,7 +567,7 @@ {% if request.path.startswith('/notifications') and c.level == 1 and c.sentto and not c.parent_submission and c.author_id != AUTOJANNY_ID %} - {% if (v and v.admin_level >= 2) and (c.sentto == 2) and not c.author.is_muted %} + {% if (v and v.admin_level >= PERMS['USER_BAN']) and (c.sentto == 2) and not c.author.is_muted %} Mute {% endif %} @@ -720,7 +720,7 @@ Approve {% endif %} - {% if c.oauth_app %} + {% if c.oauth_app and v.admin_level >= PERMS['APPS_MODERATE'] %} API App {% endif %} diff --git a/files/templates/notifications.html b/files/templates/notifications.html index 6c53ebd0e..5093935ae 100644 --- a/files/templates/notifications.html +++ b/files/templates/notifications.html @@ -37,7 +37,7 @@ {% endif %} - {% if v.admin_level >= 2 %} + {% if v.admin_level >= PERMS['VIEW_MODMAIL'] %}