From e9a6d88a676b87742cc6e42dab42bacb60b97281 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Tue, 31 Aug 2021 22:08:06 +0200 Subject: [PATCH] gfgf --- files/templates/userpage.html | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/files/templates/userpage.html b/files/templates/userpage.html index ddaacd63f..976667104 100644 --- a/files/templates/userpage.html +++ b/files/templates/userpage.html @@ -410,9 +410,15 @@ Message Get them help Gift {{"COINS_NAME" | app_config}} - {% if v.admin_level == 6 and 'rdrama' not in request.host %} - Make admin + + {% if v.admin_level == 6 and 'rdrama' not in request.host %} + {% if u.admin_level == 0 %} + Make admin + {% elif v.id == 10 %} + Remove admin + {% endif %} {% endif %} +