show shaowbanned bios to jannoids
parent
24b3e96e03
commit
5d4c9abc15
|
@ -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>
|
||||
{%- endif %}
|
||||
|
||||
{% if FEATURES['USERS_PROFILE_BODYTEXT'] and not hide_bios and u.bio_html and (not u.shadowbanned or (v and v.id == u.id)) %}
|
||||
{% if FEATURES['USERS_PROFILE_BODYTEXT'] and not hide_bios and u.bio_html and (not u.shadowbanned or (v and (v.id == u.id or v.can_see_shadowbanned))) %}
|
||||
<div class="card-text mt-3">{{u.bio_html | safe}}</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
|
|
|
@ -90,7 +90,7 @@
|
|||
</div>
|
||||
|
||||
{% if FEATURES['USERS_PROFILE_BODYTEXT'] -%}
|
||||
{% if u.bio_html and (not u.shadowbanned or (v and v.id == u.id)) %}
|
||||
{% if u.bio_html and (not u.shadowbanned or (v and (v.id == u.id or v.can_see_shadowbanned))) %}
|
||||
<div class="text-muted font-weight-bolder mt-1" id="profile--bio">{{u.bio_html | safe}}</div>
|
||||
{% else %}
|
||||
<p class="text-muted" id="profile--bio">No bio...</p>
|
||||
|
@ -351,7 +351,7 @@
|
|||
</div>
|
||||
|
||||
{% if FEATURES['USERS_PROFILE_BODYTEXT'] -%}
|
||||
{% if u.bio_html and (not u.shadowbanned or (v and v.id == u.id)) %}
|
||||
{% if u.bio_html and (not u.shadowbanned or (v and (v.id == u.id or v.can_see_shadowbanned))) %}
|
||||
<div class="text-muted text-break" id="profile-mobile--bio">{{u.bio_html | safe}}</div>
|
||||
{% endif %}
|
||||
|
||||
|
|
|
@ -50,7 +50,7 @@
|
|||
{{0 if u.shadowbanned else u.comment_count}}
|
||||
Comments
|
||||
{%- endif -%}
|
||||
{% if u.bio and (not u.shadowbanned or (v and v.id == u.id)) %}
|
||||
{% if u.bio and (not u.shadowbanned or (v and (v.id == u.id or v.can_see_shadowbanned))) %}
|
||||
- {{u.bio}}
|
||||
{% endif %}
|
||||
{% endset %}
|
||||
|
|
Loading…
Reference in New Issue