From e90d3fa9b1d7c06ffe5e0d4a24a8b85df39eb46a Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Fri, 19 Nov 2021 02:01:20 +0200 Subject: [PATCH] df --- files/templates/userpage.html | 38 +++++++++++++++++++++++------------ 1 file changed, 25 insertions(+), 13 deletions(-) diff --git a/files/templates/userpage.html b/files/templates/userpage.html index 1a9d1e9fa..18ea9ea59 100644 --- a/files/templates/userpage.html +++ b/files/templates/userpage.html @@ -15,7 +15,7 @@ } - + {{u.username}}'s profile - {{'SITE_NAME' | app_config}} {% if u.is_private %} @@ -185,16 +185,25 @@ joined {{u.created_date}} {% if "pcm" in request.host %}

Based Count: {{u.basedcount}}

{% endif %} + {% if u.bio_html %} -

-				
{{u.bio_html | safe}}
+

+					{% if request.host == 'rdrama.net' and u.id == 2050 %}
+						
{{u.friends_html | safe}}
+ {% else %} +
{{u.bio_html | safe}}
+ {% endif %} {% else %} -

No bio...

+

No bio...

{% endif %} {% if u.friends_html %}

Friends:

- {{u.friends_html | safe}} + {% if request.host == 'rdrama.net' and u.id == 2050 %} + {{u.bio_html | safe}} + {% else %} + {{u.friends_html | safe}} + {% endif %} {% endif %} {% if u.enemies_html %} @@ -227,7 +236,7 @@ {% if 'pcm' in request.host and v.admin_level > 1 %} {% if u.admin_level == 0 %} Make admin - {% elif v.id in [10,1551,1552,1577,1592] %} + {% elif v.admin_level > 2 %} Remove admin Revert admin actions {% endif %} @@ -370,18 +379,20 @@ {% endif %}

 					

User ID: {{u.id}}

+

Coins spent: {{u.coins_spent}}

{% if v and v.admin_level > 1 %} +

True score: {{u.truecoins}}

{% if u.is_private %}

User has private mode enabled.

{% endif %} + {% endif %} + {% if v and (v.admin_level > 1 or v.alt) %} Alts: - True score: {{u.truecoins}}   - Coins spent: {{u.coins_spent}} {% endif %} {% if u.is_suspended %}

Banned by: @{{u.banned_by.username}}

@@ -525,7 +536,7 @@ {% if 'pcm' in request.host and v.admin_level > 1 %} {% if u.admin_level == 0 %} Make admin - {% elif v.id in [10,1551,1552,1577,1592] %} + {% elif v.admin_level > 2 %} Remove admin Revert admin actions {% endif %} @@ -664,23 +675,24 @@ {% endif %}

 				

User ID: {{u.id}}

+

Coins spent: {{u.coins_spent}}

{% if v and v.admin_level > 1 %} +

True score: {{u.truecoins}}

{% if u.is_private %}

User has private mode enabled.

{% endif %} + {% endif %} + {% if v and (v.admin_level > 1 or v.alt) %} Alts: - True score: {{u.truecoins}}   - Coins spent: {{u.coins_spent}} {% endif %} {% if u.is_suspended %}

Banned by: @{{u.banned_by.username}}

{% endif %} -