X-Git-Url: https://code.wpia.club/?a=blobdiff_plain;f=templates%2Fsingle_motion.html;h=8935636a76ded2a4a9af21b484b09509a0515b0d;hb=0e21faff8279cf573c0483ff3be5092beef0e8e9;hp=7fd1e25a98d63d06da17ad438647f619150762b7;hpb=ac0f15d9acff6b20fb432946e5bcad54b8d7e2a7;p=motion.git diff --git a/templates/single_motion.html b/templates/single_motion.html index 7fd1e25..8935636 100644 --- a/templates/single_motion.html +++ b/templates/single_motion.html @@ -4,20 +4,37 @@ 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 %} +{%- if may_finish %} +
+
{%- endif %} {%- endif %} -Back +Back {%- endblock %}