From 6cb9a813c87ff2f66ba5aedfbd1e51c86d630704 Mon Sep 17 00:00:00 2001 From: Aevann Date: Mon, 29 Apr 2024 04:09:58 +0300 Subject: [PATCH] hide (By @autojanny) when grass award --- files/templates/userpage/admintools.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/templates/userpage/admintools.html b/files/templates/userpage/admintools.html index e4ff0a02b..2784071c9 100644 --- a/files/templates/userpage/admintools.html +++ b/files/templates/userpage/admintools.html @@ -8,7 +8,7 @@
BANNED USER: {{u.ban_reason | safe}} - {% if not u.ban_reason.startswith('Ban award') %} + {% if not u.ban_reason.startswith('Ban award') and not u.ban_reason.startswith('Grass award') %} (by {{u.banned_by | safe}}) {% endif %}