diff --git a/files/routes/discord.py b/files/routes/discord.py index 13be049f52..c16a66bd24 100644 --- a/files/routes/discord.py +++ b/files/routes/discord.py @@ -121,7 +121,7 @@ def discord_redirect(v): add_role(v, "owner") time.sleep(0.1) - if v.admin_level > 0: add_role(v, "admin") + if v.admin_level > 1: add_role(v, "admin") time.sleep(0.1) add_role(v, "linked") diff --git a/files/templates/header.html b/files/templates/header.html index 0c7476ff1c..af1eb9a677 100644 --- a/files/templates/header.html +++ b/files/templates/header.html @@ -26,7 +26,7 @@ {% if not error %} - {% if v and v.admin_level > 0 %} + {% if v and v.admin_level > 1 %} {% endif %} {% if v %} diff --git a/files/templates/submission.html b/files/templates/submission.html index 6df63bbff8..9547dbc8a1 100644 --- a/files/templates/submission.html +++ b/files/templates/submission.html @@ -561,7 +561,7 @@ Delete {% endif %} {% endif %} - {% if v and v.admin_level > 0 %} + {% if v and v.admin_level > 1 %} Pin Unpin {% if v==p.author %} diff --git a/files/templates/submission_listing.html b/files/templates/submission_listing.html index 01c8d80533..3615dcd884 100644 --- a/files/templates/submission_listing.html +++ b/files/templates/submission_listing.html @@ -98,7 +98,7 @@ {% if not postembed %}
- {% if v and request.path.startswith('/@') and not v.admin_level %} + {% if v and request.path.startswith('/@') and v.admin_level < 2 %} {% if voted==1 %}
@@ -257,7 +257,7 @@