From 51af7fc2f40d5a58b1f6b398c0aeb54137d06405 Mon Sep 17 00:00:00 2001 From: kek7198 Date: Tue, 7 Dec 2021 18:26:39 -0600 Subject: [PATCH] fix --- files/templates/votes.html | 50 +++++++++++++++++++++++--------------- 1 file changed, 30 insertions(+), 20 deletions(-) diff --git a/files/templates/votes.html b/files/templates/votes.html index afbde75bc..d5fdc895f 100644 --- a/files/templates/votes.html +++ b/files/templates/votes.html @@ -50,26 +50,36 @@ - {% for vote in ups %} - - -
- {{ vote.user.username }} avatar - -
- - {{vote.user.username}} - - {% if vote.user.customtitle %} -

- {{vote.user.customtitle | safe}} -

- {% endif %} + {% if ups %} + {% for vote in ups %} + + +
+ {{ vote.user.username }} avatar + +
+ + {{vote.user.username}} + + {% if vote.user.customtitle %} +

+ {{vote.user.customtitle | safe}} +

+ {% endif %} +
-
- - - {% endfor %} + + + {% endfor %} + {% else %} + + +
+ No upvotes yet... +
+ + + {% endif %}
@@ -80,7 +90,7 @@

Downvotes

-
+