aboutsummaryrefslogtreecommitdiffstats
path: root/templates/poll_vote_table.html.j2
diff options
context:
space:
mode:
Diffstat (limited to 'templates/poll_vote_table.html.j2')
-rw-r--r--templates/poll_vote_table.html.j23
1 files changed, 2 insertions, 1 deletions
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 @@
<tr>
<th></th>
{% for choice in choices %}
- <th>
+ <th {% if choice.id in most_voted_choice_ids %}class="most-voted"{% endif %}>
{% include "poll_choice_datetime_range.html.j2" %}
<span>
+ {% if choice.id in most_voted_choice_ids %}👑{% endif %}
<i>{{ choice.votes_with_value(1) | length }} votes</i>
</span>
</th>