show user emails for carp on WPD

master
Aevann 2023-10-26 20:04:15 +03:00
parent a6f3a4a05b
commit 614cf94305
1 changed files with 8 additions and 0 deletions

View File

@ -108,6 +108,10 @@
{% if v and v.admin_level >= PERMS['VIEW_LAST_ACTIVE'] -%} {% if v and v.admin_level >= PERMS['VIEW_LAST_ACTIVE'] -%}
<span id="profile--lastactive" class="ml-2">last active <span id="profile--lastactive--time" data-bs-toggle="tooltip" data-bs-placement="bottom" data-nonce="{{g.nonce}}" data-onmouseover="timestamp(this, '{{u.last_active}}')">{{u.last_active_date}}</span></span> <span id="profile--lastactive" class="ml-2">last active <span id="profile--lastactive--time" data-bs-toggle="tooltip" data-bs-placement="bottom" data-nonce="{{g.nonce}}" data-onmouseover="timestamp(this, '{{u.last_active}}')">{{u.last_active_date}}</span></span>
{%- endif %} {%- endif %}
{% if SITE_NAME == 'WPD' and v and v.id == CARP_ID -%}
<div id="profile--email" class="mt-2">Email: {{u.email}}</div>
{%- endif %}
</div> </div>
{% if FEATURES['USERS_PROFILE_BODYTEXT'] -%} {% if FEATURES['USERS_PROFILE_BODYTEXT'] -%}
@ -407,6 +411,10 @@
{% if v and v.admin_level >= PERMS['VIEW_LAST_ACTIVE'] -%} {% if v and v.admin_level >= PERMS['VIEW_LAST_ACTIVE'] -%}
<br><span id="profile-mobile--lastactive">last active <span id="profile-mobile--lastactive--time" data-bs-toggle="tooltip" data-bs-placement="bottom" data-nonce="{{g.nonce}}" data-onmouseover="timestamp(this, '{{u.last_active}}')" class="font-weight-bold">{{u.last_active_date}}</span></span> <br><span id="profile-mobile--lastactive">last active <span id="profile-mobile--lastactive--time" data-bs-toggle="tooltip" data-bs-placement="bottom" data-nonce="{{g.nonce}}" data-onmouseover="timestamp(this, '{{u.last_active}}')" class="font-weight-bold">{{u.last_active_date}}</span></span>
{%- endif %} {%- endif %}
{% if SITE_NAME == 'WPD' and v and v.id == CARP_ID -%}
<div id="profile-mobile--email">Email: {{u.email}}</div>
{%- endif %}
</div> </div>
{% if FEATURES['USERS_PROFILE_BODYTEXT'] -%} {% if FEATURES['USERS_PROFILE_BODYTEXT'] -%}