From 371b4d7da4cf38a73b177002c93d486a30a7dd58 Mon Sep 17 00:00:00 2001 From: Aevann Date: Mon, 3 Jun 2024 11:11:04 +0300 Subject: [PATCH] move email --- files/templates/userpage/admintools.html | 5 +++++ files/templates/userpage/banner.html | 8 -------- 2 files changed, 5 insertions(+), 8 deletions(-) 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'] -%}