X-Git-Url: https://code.wpia.club/?a=blobdiff_plain;f=templates%2Fsingle_motion.html;h=585e1170d79a8a42cf8a4f477c75f0bf3ec1935f;hb=3ecb22b0b9b3381d6cf5c2d874c3cbf8c5e9e40f;hp=edffcc32c4e697e57f9af7ce0024a0f860c2b262;hpb=fb14879eed07a490aab3a9263db29e4a0323ae41;p=motion.git diff --git a/templates/single_motion.html b/templates/single_motion.html index edffcc3..585e117 100644 --- a/templates/single_motion.html +++ b/templates/single_motion.html @@ -4,19 +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 %}