X-Git-Url: https://code.wpia.club/?a=blobdiff_plain;f=templates%2Fsingle_motion.html;h=c265432716be7e6a117309520008103f5cb8b710;hb=987c5c0e05127d16c13a8539c9770af679a1d859;hp=1cc121b2ce6b26f6f87ec6103c1be49524e40139;hpb=30c770e23d39c5bfb84d6043f1875880063ba9d3;p=motion.git diff --git a/templates/single_motion.html b/templates/single_motion.html index 1cc121b..c265432 100644 --- a/templates/single_motion.html +++ b/templates/single_motion.html @@ -4,20 +4,32 @@ Motion: {{motion.name}} {%- endblock %} {% block body %} {%- include 'motion.html' %} +{%- if votes %} +
+
+ Motion Votes +
+
+ {%- for row in votes %} +
{{row.email}}: {{row.result}}
+ {%- endfor %} +
+
+{%- endif %} {%- if motion.running %} {%- if may_vote %} -
+ {%- for vote in ['yes','no','abstain'] %} {%- endfor %}
{%- endif %} {%- if may_cancel %} -
+
{%- endif %} {%- endif %} -Back +Back {%- endblock %}