X-Git-Url: https://code.wpia.club/?a=blobdiff_plain;f=templates%2Fsingle_motion.html;h=585e1170d79a8a42cf8a4f477c75f0bf3ec1935f;hb=a53c21d6917f544e61aaf8fa6adeda8a5cebb7c1;hp=1078343cb72198a4cb8bfb783cbce51b797d5068;hpb=2f6d14ef5785b7c7bb67b57ed9253b080ebf2f72;p=motion.git diff --git a/templates/single_motion.html b/templates/single_motion.html index 1078343..585e117 100644 --- a/templates/single_motion.html +++ b/templates/single_motion.html @@ -4,11 +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 {%- endblock %}