X-Git-Url: https://code.wpia.club/?a=blobdiff_plain;f=templates%2Fsingle_motion.html;h=c265432716be7e6a117309520008103f5cb8b710;hb=5e20a497d0fd1e068bb038e6e9d468c6104f4e30;hp=ac4ff79148bc4ef86292b5040f1611cbda0c8a75;hpb=8c6bfd970009dae1fc76acae9cfe4d8579b4d1a3;p=motion.git diff --git a/templates/single_motion.html b/templates/single_motion.html index ac4ff79..c265432 100644 --- a/templates/single_motion.html +++ b/templates/single_motion.html @@ -4,16 +4,28 @@ 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 %} -
+