diff --git a/files/templates/userpage.html b/files/templates/userpage.html index b3d2ff5a8..ad4061a0c 100644 --- a/files/templates/userpage.html +++ b/files/templates/userpage.html @@ -251,34 +251,38 @@ {% block content %}
- {% if u.is_suspended %} - -
- -
- -
- {{ u.username }} was banned by - @{{u.banned_by.username}} + {% if u.is_suspended or u.shadowbanned %} +
+ {% if u.is_suspended %} + +
+ +
+ +
+ {{ u.username }} was banned by + @{{u.banned_by.username}} +
+ {% if u.unban_utc %} +
{{u.unban_string}}
+ {% endif %} +
+
+ {% endif %} + + {% if v and v.admin_level > 1 and u.shadowbanned %} + +
+ +
+ + + {{ u.username }} is shadowbanned + +
- {% if u.unban_utc %} -
{{u.unban_string}}
{% endif %}
-
- {% endif %} - - {% if v and v.admin_level > 1 and u.shadowbanned %} - -
- -
- - - {{ u.username }} is shadowbanned - -
-
{% endif %}