diff options
Diffstat (limited to 'templates/feeds/poll_description.html')
-rw-r--r-- | templates/feeds/poll_description.html | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/templates/feeds/poll_description.html b/templates/feeds/poll_description.html new file mode 100644 index 0000000..7522a5a --- /dev/null +++ b/templates/feeds/poll_description.html @@ -0,0 +1,8 @@ +{% load i18n %} +<p>{% blocktrans with obj.user.name as voter_name %}{{ voter_name }} has added/modified a vote.{%endblocktrans%}</p> +<p>{% trans "Current results:" %}</p> +<ul> +{% for choice in obj.poll.getChoices %} + <li><strong>{{choice.name}}</strong>{% blocktrans count choice.getSum as sum %}: {{sum}} vote{%plural%}: {{sum}} votes{%endblocktrans%}</li> +{% endfor %} +</ul>
\ No newline at end of file |