From 80675a4916ed2dbef81628ed7be27f55ac342e6b Mon Sep 17 00:00:00 2001 From: kek7198 Date: Sun, 12 Dec 2021 12:54:52 -0600 Subject: [PATCH] fix --- files/templates/userpage.html | 78 ++++++++++++++++++----------------- 1 file changed, 40 insertions(+), 38 deletions(-) diff --git a/files/templates/userpage.html b/files/templates/userpage.html index 6bedb3f8f1..33d04dd648 100644 --- a/files/templates/userpage.html +++ b/files/templates/userpage.html @@ -170,49 +170,51 @@ {% endif %} {% if u.id == v.id or not u.is_private %} - + {% endif %} {% if u.badges %} - {% endif %} -
- {% if u.friends_html %} -

Friends

- {{u.friends_html | safe}} - {% endif %} + {% if u.friends_html or u.enemies_html %} +
+ {% if u.friends_html %} +

Friends

+ {{u.friends_html | safe}} + {% endif %} - {% if u.enemies_html %} -

Enemies

- {{u.enemies_html | safe}} - {% endif %} -
+ {% if u.enemies_html %} +

Enemies

+ {{u.enemies_html | safe}} + {% endif %} +
+ {% endif %} {% endblock %}