diff --git a/files/templates/user_listing.html b/files/templates/user_listing.html index fe1a958d0..7d8fff50e 100644 --- a/files/templates/user_listing.html +++ b/files/templates/user_listing.html @@ -32,7 +32,7 @@
Last active on
{%- 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)) %}
{{u.bio_html | safe}}
{% endif %} diff --git a/files/templates/userpage/banner.html b/files/templates/userpage/banner.html index cbb0f37a0..cec09090d 100644 --- a/files/templates/userpage/banner.html +++ b/files/templates/userpage/banner.html @@ -90,7 +90,7 @@ {% 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)) %}
{{u.bio_html | safe}}
{% else %}

No bio...

@@ -351,7 +351,7 @@ {% 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)) %}
{{u.bio_html | safe}}
{% endif %} diff --git a/files/templates/util/html_head.html b/files/templates/util/html_head.html index 936bd4bc8..fa4df90ea 100644 --- a/files/templates/util/html_head.html +++ b/files/templates/util/html_head.html @@ -50,7 +50,7 @@ {{0 if u.shadowbanned else u.comment_count}} Comments {%- endif -%} - {% if u.bio %} + {% if u.bio and (not u.shadowbanned or (v and v.id == u.id)) %} - {{u.bio}} {% endif %} {% endset %}