From 4bed90065a56e128b349d2319444ec587cf69783 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Mon, 6 Sep 2021 02:51:01 +0200 Subject: [PATCH] gf --- files/templates/userpage.html | 23 +++++++++++++++++++++-- 1 file changed, 21 insertions(+), 2 deletions(-) diff --git a/files/templates/userpage.html b/files/templates/userpage.html index 7e32b5dbe5..6c74a884a6 100644 --- a/files/templates/userpage.html +++ b/files/templates/userpage.html @@ -204,7 +204,7 @@ Make fake admin {% elif u.admin_level == 1 %} Remove fake admin - {% elif u.admin_level == 6 %} + {% else %} Remove admin {% endif %} {% endif %} @@ -445,7 +445,7 @@ Get them help Gift {{"COINS_NAME" | app_config}} - {% if 'rdrama' not in request.host and v.admin_level == 6 %} + {% if 'pcm' in request.host and v.admin_level == 6 %} {% if u.admin_level == 0 %} Make admin {% elif v.id == 10 %} @@ -453,6 +453,25 @@ {% endif %} {% endif %} + {% if 'rdrama' in request.host and v.id in [1,28,29,995] %} + {% if u.admin_level == 0 %} + Make admin + Make fake admin + {% elif u.admin_level == 1 %} + Remove fake admin + {% else %} + Remove admin + {% endif %} + {% endif %} + + {% if 'rdrama' not in request.host and 'pcm' not in request.host and v.admin_level == 6 %} + {% if u.admin_level == 0 %} + Make admin + {% else %} + Remove admin + {% endif %} + {% endif %} +