From 923cac0125b29f5fd0bb7ccfcc1e4f43c89af3b5 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Thu, 14 Apr 2022 19:40:13 +0200 Subject: [PATCH] fds --- files/templates/default.html | 6 +++++- files/templates/sidebar_rDrama.html | 8 ++++++-- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/files/templates/default.html b/files/templates/default.html index 58f5bd3e2..a08f479a5 100644 --- a/files/templates/default.html +++ b/files/templates/default.html @@ -234,7 +234,11 @@ {% set image = "/" + path + "/" + listdir('files/' + path)|random() + '?v=23' %} - site banner + {% if v and (v.shadowbanned or v.is_banned or v.agendaposter) %} + site banner + {% else %} + site banner + {% endif %} {% else %} diff --git a/files/templates/sidebar_rDrama.html b/files/templates/sidebar_rDrama.html index a78749baf..b88bc4e6e 100644 --- a/files/templates/sidebar_rDrama.html +++ b/files/templates/sidebar_rDrama.html @@ -7,8 +7,12 @@ {% set image = "/" + path + "/" + listdir('files/' + path)|random() + '?v=40' %} {% endif %} - sidebar image - + {% if v and (v.shadowbanned or v.is_banned or v.agendaposter) %} + sidebar image + {% else %} + sidebar image + {% endif %} + {% if sub %} {% if sub.sidebar_html %}
{{sub.sidebar_html|safe}}