forked from rDrama/rDrama
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>
|
<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 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>
|
<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 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>
|
<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 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>
|
<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 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}}
|
- {{u.bio}}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endset %}
|
{% endset %}
|
||||||
|
|
Loading…
Reference in New Issue