forked from rDrama/rDrama
hide shadowbannedcels bios
parent
1522158ed8
commit
88762071aa
|
@ -32,7 +32,7 @@
|
||||||
<div id="profile--lastactive" class="mt-3">Last active on <span id="profile--lastactive--time" data-time="{{u.last_active}}"></span></div>
|
<div id="profile--lastactive" class="mt-3">Last active on <span id="profile--lastactive--time" data-time="{{u.last_active}}"></span></div>
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
|
|
||||||
{% if FEATURES['USERS_PROFILE_BODYTEXT'] and not hide_bios and u.bio_html %}
|
{% if FEATURES['USERS_PROFILE_BODYTEXT'] and not hide_bios and u.bio_html and (not u.shadowbanned or (v and v.id == u.id)) %}
|
||||||
<div class="card-text mt-3">{{u.bio_html | safe}}</div>
|
<div class="card-text mt-3">{{u.bio_html | safe}}</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -90,7 +90,7 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{% if FEATURES['USERS_PROFILE_BODYTEXT'] -%}
|
{% if FEATURES['USERS_PROFILE_BODYTEXT'] -%}
|
||||||
{% if u.bio_html %}
|
{% if u.bio_html and not (not u.shadowbanned or (v and v.id == u.id)) %}
|
||||||
<div class="text-muted font-weight-bolder mt-1" id="profile--bio">{{u.bio_html | safe}}</div>
|
<div class="text-muted font-weight-bolder mt-1" id="profile--bio">{{u.bio_html | safe}}</div>
|
||||||
{% else %}
|
{% else %}
|
||||||
<p class="text-muted" id="profile--bio">No bio...</p>
|
<p class="text-muted" id="profile--bio">No bio...</p>
|
||||||
|
@ -351,7 +351,7 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{% if FEATURES['USERS_PROFILE_BODYTEXT'] -%}
|
{% if FEATURES['USERS_PROFILE_BODYTEXT'] -%}
|
||||||
{% if u.bio_html %}
|
{% if u.bio_html and not (not u.shadowbanned or (v and v.id == u.id)) %}
|
||||||
<div class="text-muted text-break" id="profile-mobile--bio">{{u.bio_html | safe}}</div>
|
<div class="text-muted text-break" id="profile-mobile--bio">{{u.bio_html | safe}}</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
|
|
@ -50,7 +50,7 @@
|
||||||
{{0 if u.shadowbanned else u.comment_count}}
|
{{0 if u.shadowbanned else u.comment_count}}
|
||||||
Comments
|
Comments
|
||||||
{%- endif -%}
|
{%- endif -%}
|
||||||
{% if u.bio %}
|
{% if u.bio and (not u.shadowbanned or (v and v.id == u.id)) %}
|
||||||
- {{u.bio}}
|
- {{u.bio}}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endset %}
|
{% endset %}
|
||||||
|
|
Loading…
Reference in New Issue