diff --git a/files/templates/userpage/admintools.html b/files/templates/userpage/admintools.html index 5aa418759..e582f2365 100644 --- a/files/templates/userpage/admintools.html +++ b/files/templates/userpage/admintools.html @@ -48,6 +48,11 @@ {% endif %} + + {% if v.admin_level >= PERMS['VIEW_EMAILS'] -%} +
Email: {{u.email}}
+ {%- endif %} + {% if v.admin_level >= PERMS['USER_BAN'] %}
diff --git a/files/templates/userpage/banner.html b/files/templates/userpage/banner.html index 258f7fe8b..a135b65b0 100644 --- a/files/templates/userpage/banner.html +++ b/files/templates/userpage/banner.html @@ -120,10 +120,6 @@ {% if v and v.admin_level >= PERMS['VIEW_LAST_ACTIVE'] -%} last active {{u.last_active_date}} {%- endif %} - - {% if v and v.admin_level >= PERMS['VIEW_EMAILS'] -%} -
Email: {{u.email}}
- {%- endif %} {% if FEATURES['USERS_PROFILE_BODYTEXT'] -%} @@ -434,10 +430,6 @@ {% if v and v.admin_level >= PERMS['VIEW_LAST_ACTIVE'] -%}
last active {{u.last_active_date}} {%- endif %} - - {% if v and v.admin_level >= PERMS['VIEW_EMAILS'] -%} -
Email: {{u.email}}
- {%- endif %} {% if FEATURES['USERS_PROFILE_BODYTEXT'] -%}