diff --git a/files/templates/header.html b/files/templates/header.html index 93589d8fa..ba223062a 100644 --- a/files/templates/header.html +++ b/files/templates/header.html @@ -114,7 +114,7 @@ {% endif %} {% if not err %} - {% if v and v.admin_level > 1 %} + {% if v and v.admin_level >= PERMS['ADMIN_HOME_VISIBLE'] %} {% endif %} @@ -159,7 +159,7 @@ {% endif %} - {% if v.admin_level > 1 %} + {% if v.admin_level >= PERMS['ADMIN_HOME_VISIBLE'] %} diff --git a/files/templates/user_listing.html b/files/templates/user_listing.html index c56758741..920aa0997 100644 --- a/files/templates/user_listing.html +++ b/files/templates/user_listing.html @@ -29,7 +29,7 @@
Joined on
- {% if v.admin_level >= 2 -%} + {% if v.admin_level >= PERMS['VIEW_LAST_ACTIVE'] -%}
Last active on
{%- endif %}