X-Git-Url: https://code.wpia.club/?a=blobdiff_plain;f=templates%2Fsingle_motion.html;h=bc93bee4073e371f4dcec5bfb1e34fbc1ade3669;hb=02e93d6b90efc63d77044f9416a469a5b314d372;hp=1cc121b2ce6b26f6f87ec6103c1be49524e40139;hpb=30c770e23d39c5bfb84d6043f1875880063ba9d3;p=motion.git diff --git a/templates/single_motion.html b/templates/single_motion.html index 1cc121b..bc93bee 100644 --- a/templates/single_motion.html +++ b/templates/single_motion.html @@ -1,23 +1,69 @@ {% extends "base.html" %} {% block title -%} -Motion: {{motion.name}} +{{_('Motion')}}: {{motion.name}} {%- endblock %} {% block body %} {%- include 'motion.html' %} +{%- if votes %} +
+
+ {{_('Motion Votes')}} +
+
+ {%- for row in votes %} +
{{row.email}}: {{row.result}}{%- if row.proxyemail %} : {_('given by')}} {{row.proxyemail}}{%- endif %}
+ {%- endfor %} +
+
+{%- endif %} + {%- if motion.running %} +{%- if may_cancel or may_finish %} +

{{_('Motion handling')}}

+ +{%- if may_cancel %} +
+ +
+
+{%- endif %} +{%- if may_finish %} +
+
+
+{%- endif %} +{%- endif %} + {%- if may_vote %} -
-{%- for vote in ['yes','no','abstain'] %} - +
+
+

{{_('My vote')}}

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

{{_('Vote for %(email)s', email=p.email)}}

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