From 4b2dc334b37b9eecc722f6046ff751fd89ee318d Mon Sep 17 00:00:00 2001 From: Aevann Date: Thu, 18 Apr 2024 21:56:15 +0200 Subject: [PATCH] restore failsafe temporarily --- files/templates/user_in_table.html | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/files/templates/user_in_table.html b/files/templates/user_in_table.html index 1908ab832..2eec6b6be 100644 --- a/files/templates/user_in_table.html +++ b/files/templates/user_in_table.html @@ -1,12 +1,14 @@ {% if user %} - {%- include 'admin/shadowbanned_tooltip.html' -%} - -
- - {% if user.hat_active(v)[0] -%} - - {%- endif %} -
- {{user.user_name}} -
+ {% if can_see(v, user) %} + {%- include 'admin/shadowbanned_tooltip.html' -%} + +
+ + {% if user.hat_active(v)[0] -%} + + {%- endif %} +
+ {{user.user_name}} +
+ {% endif %} {% endif %}