X-Git-Url: https://code.wpia.club/?a=blobdiff_plain;ds=sidebyside;f=templates%2Fsingle_motion.html;h=c53e4b51307bb67b66d5b7079662fa89bc8c8c29;hb=4af338e33108c609381f4c60b6cc12b50da7f107;hp=585e1170d79a8a42cf8a4f477c75f0bf3ec1935f;hpb=224b4a836fd7588b653baf91b004a7ae62ec49c9;p=motion.git diff --git a/templates/single_motion.html b/templates/single_motion.html index 585e117..c53e4b5 100644 --- a/templates/single_motion.html +++ b/templates/single_motion.html @@ -5,31 +5,60 @@ Motion: {{motion.name}} {% block body %} {%- include 'motion.html' %} {%- if votes %} -
-
+
+
Motion Votes
-
+
{%- for row in votes %} -
{{row.email}}: {{row.result}}
+
{{row.email}}: {{row.result}}{%- if row.proxyemail %} : given by {{row.proxyemail}}{%- endif %}
{%- endfor %}
{%- endif %} + {%- if motion.running %} + {%- if may_vote %} -
+
+
+

My vote

+{%- if proxyname %} +Given by {{proxyname[0][0]}} +{%- endif %} + {%- for vote in ['yes','no','abstain'] %} {%- endfor %} + +{%- for p in proxyvote %} +

Vote for {{p.email}}

+{%- if p.owneremail and p.result%} +Voted by {{p.owneremail}} +{%- endif %} +
+{%- for vote in ['yes','no','abstain'] %} + +{%- endfor %} +
+{%- endfor %} {%- endif %} + {%- if may_cancel %}
- +
{%- endif %} +{%- if may_finish %} +
+
+
+{%- endif %} + {%- endif %} Back {%- endblock %} +
+