From 76abb7cada4e656934336f36c2044062da8f427c Mon Sep 17 00:00:00 2001 From: Jan Tuomi Date: Tue, 4 Jun 2024 13:13:23 +0300 Subject: Highlight most voted options --- templates/poll_vote_table.html.j2 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'templates/poll_vote_table.html.j2') diff --git a/templates/poll_vote_table.html.j2 b/templates/poll_vote_table.html.j2 index 440f2b7..a93ebfa 100644 --- a/templates/poll_vote_table.html.j2 +++ b/templates/poll_vote_table.html.j2 @@ -2,9 +2,10 @@ {% for choice in choices %} - + {% include "poll_choice_datetime_range.html.j2" %} + {% if choice.id in most_voted_choice_ids %}👑{% endif %} {{ choice.votes_with_value(1) | length }} votes -- cgit v1.3