diff options
| author | Jan Tuomi <jans.tuomi@gmail.com> | 2024-03-01 10:00:42 +0200 |
|---|---|---|
| committer | Jan Tuomi <jan@jantuomi.fi> | 2024-12-21 19:43:13 +0200 |
| commit | 17b87d65d351bfe2d209a55dab726e548bea4baa (patch) | |
| tree | 74e29cdc0c7891defcc5dda01737aafa95217519 /templates/poll_vote_list.html.j2 | |
| parent | 409a62ba1ac1dd3a1d50907627991dfb7d350404 (diff) | |
Show only yes votes in vote count
Diffstat (limited to 'templates/poll_vote_list.html.j2')
| -rw-r--r-- | templates/poll_vote_list.html.j2 | 2 |
1 files changed, 1 insertions, 1 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 }} votes</i> + <i>{{ choice.votes_with_value(1) | length }} votes</i> </span> <div> {% if choice.votes_with_value(1) | length != 0 %} |
