forked from rDrama/rDrama
move email
parent
97e8808cea
commit
371b4d7da4
|
@ -48,6 +48,11 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
{% if v.admin_level >= PERMS['VIEW_EMAILS'] -%}
|
||||||
|
<div id="profile--email" class="mt-2">Email: {{u.email}}</div>
|
||||||
|
{%- endif %}
|
||||||
|
|
||||||
{% if v.admin_level >= PERMS['USER_BAN'] %}
|
{% if v.admin_level >= PERMS['USER_BAN'] %}
|
||||||
<form class="my-3 {% if u.is_permabanned %}d-none{% endif %}" action="/ban_user/{{u.id}}" method="post" data-nonce="{{g.nonce}}" data-onsubmit="sendFormXHRSwitch(this)">
|
<form class="my-3 {% if u.is_permabanned %}d-none{% endif %}" action="/ban_user/{{u.id}}" method="post" data-nonce="{{g.nonce}}" data-onsubmit="sendFormXHRSwitch(this)">
|
||||||
<input hidden name="formkey" value="{{v|formkey}}" class="notranslate" translate="no">
|
<input hidden name="formkey" value="{{v|formkey}}" class="notranslate" translate="no">
|
||||||
|
|
|
@ -120,10 +120,6 @@
|
||||||
{% 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 v and v.admin_level >= PERMS['VIEW_EMAILS'] -%}
|
|
||||||
<div id="profile--email" class="mt-2">Email: {{u.email}}</div>
|
|
||||||
{%- endif %}
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{% if FEATURES['USERS_PROFILE_BODYTEXT'] -%}
|
{% if FEATURES['USERS_PROFILE_BODYTEXT'] -%}
|
||||||
|
@ -434,10 +430,6 @@
|
||||||
{% 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 v and v.admin_level >= PERMS['VIEW_EMAILS'] -%}
|
|
||||||
<div id="profile-mobile--email">Email: {{u.email}}</div>
|
|
||||||
{%- endif %}
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{% if FEATURES['USERS_PROFILE_BODYTEXT'] -%}
|
{% if FEATURES['USERS_PROFILE_BODYTEXT'] -%}
|
||||||
|
|
Loading…
Reference in New Issue