From 34860303fb43a3b1d8af8e0c3251d7f27d647874 Mon Sep 17 00:00:00 2001 From: Aevann Date: Thu, 10 Aug 2023 18:37:29 +0300 Subject: [PATCH] fix emojis in shadowbanned tooltip --- files/templates/admin/shadowbanned_tooltip.html | 2 +- files/templates/comments.html | 2 +- files/templates/util/macros.html | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/files/templates/admin/shadowbanned_tooltip.html b/files/templates/admin/shadowbanned_tooltip.html index 2c795543c..ea2fbaee6 100644 --- a/files/templates/admin/shadowbanned_tooltip.html +++ b/files/templates/admin/shadowbanned_tooltip.html @@ -1 +1 @@ -{% if v and v.admin_level >= PERMS['USER_SHADOWBAN'] and user.shadowbanned %}{% endif %} +{% if v and v.admin_level >= PERMS['USER_SHADOWBAN'] and user.shadowbanned %}{% endif %} diff --git a/files/templates/comments.html b/files/templates/comments.html index 2a62827f8..d13f2c2f4 100644 --- a/files/templates/comments.html +++ b/files/templates/comments.html @@ -145,7 +145,7 @@ {% if c.active_reports(v) %}{% endif %} {% if c.over_18 %}+18{% endif %} - {% if v and v.admin_level >= PERMS['USER_SHADOWBAN'] and c.author.shadowbanned %}{% endif %} + {% if v and v.admin_level >= PERMS['USER_SHADOWBAN'] and c.author.shadowbanned %}{% endif %} {% if c.stickied %} {% endif %} diff --git a/files/templates/util/macros.html b/files/templates/util/macros.html index 57ca6f460..a8ee8d42c 100644 --- a/files/templates/util/macros.html +++ b/files/templates/util/macros.html @@ -34,7 +34,7 @@ {% endfor %} {% if v and v.admin_level >= PERMS['USER_SHADOWBAN'] and p.author.shadowbanned %} - + {% endif %} {% if p.stickied %} @@ -206,7 +206,7 @@ {% for r in i.filtered_reports(v) %}
  • {% if v and v.admin_level and r.user.shadowbanned %} - + {% endif %} {{r.user.username}} {% if r.reason %}: {{r.realreason(v) | safe}}{% endif %}