From 368ebce5740700790adea109be245fdd0b143bad Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Wed, 24 Nov 2021 23:20:16 +0200 Subject: [PATCH] dffsd --- files/templates/header.html | 4 ++-- files/templates/sign_up.html | 14 +++--------- files/templates/userpage.html | 40 ++--------------------------------- 3 files changed, 7 insertions(+), 51 deletions(-) diff --git a/files/templates/header.html b/files/templates/header.html index dd5dc7d87..4e3febd7a 100644 --- a/files/templates/header.html +++ b/files/templates/header.html @@ -24,8 +24,8 @@ {% if "gigachadlife" in request.host %} GigaChadLife - {% elif 'pcm' not in request.host %} - + {% else %} + {% endif %} diff --git a/files/templates/sign_up.html b/files/templates/sign_up.html index c7ced7288..8cfc583db 100644 --- a/files/templates/sign_up.html +++ b/files/templates/sign_up.html @@ -114,19 +114,11 @@ - {% if "rama" in request.host %} -
- - -
- {% elif "pcm" in request.host %} -
+
-
- {% endif %} + href="/rules" target="_blank">terms and conditions +
{% if hcaptcha %}
diff --git a/files/templates/userpage.html b/files/templates/userpage.html index 66de83743..9991b6cf7 100644 --- a/files/templates/userpage.html +++ b/files/templates/userpage.html @@ -241,16 +241,7 @@ Get them help Gift {{'COINS_NAME' | app_config}} - {% if 'pcm' in request.host and v.admin_level > 1 %} - {% if u.admin_level == 0 %} - Make admin - {% elif v.admin_level > 2 %} - Remove admin - Revert admin actions - {% endif %} - {% endif %} - - {% if 'rama' in request.host and v.admin_level > 2 %} + {% if v.admin_level > 2 %} Make admin Remove admin @@ -262,15 +253,6 @@ {% endif %} {% endif %} - {% if 'rama' not in request.host and 'pcm' not in request.host and v.admin_level > 1 %} - Make admin - Remove admin - - {% if u.admin_level %} - Revert admin actions - {% endif %} - {% endif %} -

 							
@@ -541,16 +523,7 @@
 					Get them help
 					Gift {{'COINS_NAME' | app_config}}
 
-					{% if 'pcm' in request.host and v.admin_level > 1 %} 
-						{% if u.admin_level == 0 %}
-							Make admin
-						{% elif v.admin_level > 2 %}
-							Remove admin
-							Revert admin actions
-						{% endif %}
-					{% endif %}
-
-					{% if 'rama' in request.host and v.admin_level > 2 %} 
+					{% if v.admin_level > 2 %} 
 						Make admin
 						Remove admin
 
@@ -562,15 +535,6 @@
 						{% endif %}
 					{% endif %}
 
-					{% if 'rama' not in request.host and 'pcm' not in request.host and v.admin_level > 1 %}
-						Make admin
-						Remove admin
-
-						{% if u.admin_level %}
-							Revert admin actions
-						{% endif %}
-					{% endif %}
-