From b3526d35a54cd34fd78044c87da7c4294f56766b Mon Sep 17 00:00:00 2001 From: Aevann Date: Sat, 17 Feb 2024 14:30:50 +0200 Subject: [PATCH] add DELETE_ME_PLS --- files/helpers/can_see.py | 1 + files/templates/sidebar_rDrama.html | 1 + 2 files changed, 2 insertions(+) diff --git a/files/helpers/can_see.py b/files/helpers/can_see.py index d2612962c..5977f7536 100644 --- a/files/helpers/can_see.py +++ b/files/helpers/can_see.py @@ -4,6 +4,7 @@ from files.classes.comment import Comment from files.classes.hole import Hole from flask import request +#DELETE_ME_PLS words_to_hide = ('israel', 'isreal', 'palestin', 'muslim', 'islam', 'hamas', 'jew', 'zion', 'gaza', 'rafah', 'isis', 'terror', 'iraq', 'allah', 'mohammad', 'muhammad', 'mohammed', 'muhammed', 'mohamad', 'muhamad', 'mohamed', 'muhamed') def can_see(user, other): diff --git a/files/templates/sidebar_rDrama.html b/files/templates/sidebar_rDrama.html index 328237f00..1bc6187d1 100644 --- a/files/templates/sidebar_rDrama.html +++ b/files/templates/sidebar_rDrama.html @@ -15,6 +15,7 @@ + {# DELETE_ME_PLS #} {% if not v %} {% set image = SITE_FULL_IMAGES + "/assets/images/rDrama/sidebar/63.webp?x=7" %} {% elif hole and hole.sidebarurls %}