From 3620ac2671651eb096e49845e2ef500918e90d2a Mon Sep 17 00:00:00 2001 From: Jan Tuomi Date: Thu, 29 Feb 2024 22:04:55 +0200 Subject: Fix list view voters, change font --- templates/poll_vote_list.html.j2 | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'templates/poll_vote_list.html.j2') diff --git a/templates/poll_vote_list.html.j2 b/templates/poll_vote_list.html.j2 index 845356b..a9b2a48 100644 --- a/templates/poll_vote_list.html.j2 +++ b/templates/poll_vote_list.html.j2 @@ -10,8 +10,10 @@ {{ choice.votes | length }} votes
- {% if choice.votes | length != 0 %} - Voted by: {% for vote in choice.votes %}{{ vote.voter_name }}{% if not loop.last %}, {% endif %}{% endfor %} + {% if choice.votes_with_value(1) | length != 0 %} + Voted by: {% for vote in choice.votes_with_value(1) %} + {{ vote.voter_name }}{% if not loop.last %}, {% endif %} + {% endfor %} {% endif %}
-- cgit v1.3