summaryrefslogtreecommitdiff
path: root/papillon/templates/feeds/poll_description.html
diff options
context:
space:
mode:
authoretienne <etienne@07715635-78ed-41b0-aaf1-0afda6c37f35>2010-03-27 17:06:03 +0000
committeretienne <etienne@07715635-78ed-41b0-aaf1-0afda6c37f35>2010-03-27 17:06:03 +0000
commit95729368a48257b110ea33dfb005785f8ed6734f (patch)
tree8b99b375a4b4a2e121a9192910af15485ea2b7c3 /papillon/templates/feeds/poll_description.html
parent8ded76ae513b38d14773449e46543b54cf48ef49 (diff)
downloadPapillon-95729368a48257b110ea33dfb005785f8ed6734f.tar.bz2
Papillon-95729368a48257b110ea33dfb005785f8ed6734f.zip
Rearrange directories - include documentation
Diffstat (limited to 'papillon/templates/feeds/poll_description.html')
-rw-r--r--papillon/templates/feeds/poll_description.html8
1 files changed, 8 insertions, 0 deletions
diff --git a/papillon/templates/feeds/poll_description.html b/papillon/templates/feeds/poll_description.html
new file mode 100644
index 0000000..7522a5a
--- /dev/null
+++ b/papillon/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