aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--templates/poll_vote_list.html.j22
-rw-r--r--templates/poll_vote_table.html.j22
2 files changed, 2 insertions, 2 deletions
diff --git a/templates/poll_vote_list.html.j2 b/templates/poll_vote_list.html.j2
index f782a90..9d3a15c 100644
--- a/templates/poll_vote_list.html.j2
+++ b/templates/poll_vote_list.html.j2
@@ -7,7 +7,7 @@
{% include "poll_choice_datetime_range.html.j2" %}
</strong>
<span>
- <i>{{ choice.votes | length }}&nbsp;votes</i>
+ <i>{{ choice.votes_with_value(1) | length }}&nbsp;votes</i>
</span>
<div>
{% if choice.votes_with_value(1) | length != 0 %}
diff --git a/templates/poll_vote_table.html.j2 b/templates/poll_vote_table.html.j2
index 97fcac5..a7aa434 100644
--- a/templates/poll_vote_table.html.j2
+++ b/templates/poll_vote_table.html.j2
@@ -5,7 +5,7 @@
<th>
{% include "poll_choice_datetime_range.html.j2" %}
<span>
- <i>{{ choice.votes | length }} votes</i>
+ <i>{{ choice.votes_with_value(1) | length }} votes</i>
</span>
</th>
{% endfor %}