From d23a77aea00069e200c337ad0b8d2e123fd1b51a Mon Sep 17 00:00:00 2001 From: Aevann Date: Thu, 19 Oct 2023 00:24:15 +0300 Subject: [PATCH] hide under attack toggle since jannies cant use it anymore bc it get reverted almost instantly --- files/templates/admin/admin_home.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/templates/admin/admin_home.html b/files/templates/admin/admin_home.html index 1401e09f5..9ff8a520d 100644 --- a/files/templates/admin/admin_home.html +++ b/files/templates/admin/admin_home.html @@ -134,7 +134,7 @@ {% if v.admin_level >= PERMS['SITE_SETTINGS'] %} {% for setting in SITE_SETTINGS.keys() %} - {% if not (setting == "offline_mode" and v.admin_level < PERMS["SITE_OFFLINE_MODE"]) %} + {% if setting != "under_attack" and not (setting == "offline_mode" and v.admin_level < PERMS["SITE_OFFLINE_MODE"]) %}