X-Git-Url: https://code.wpia.club/?a=blobdiff_plain;f=templates%2Fsingle_motion.html;h=bc93bee4073e371f4dcec5bfb1e34fbc1ade3669;hb=02e93d6b90efc63d77044f9416a469a5b314d372;hp=585e1170d79a8a42cf8a4f477c75f0bf3ec1935f;hpb=224b4a836fd7588b653baf91b004a7ae62ec49c9;p=motion.git diff --git a/templates/single_motion.html b/templates/single_motion.html index 585e117..bc93bee 100644 --- a/templates/single_motion.html +++ b/templates/single_motion.html @@ -1,35 +1,69 @@ {% extends "base.html" %} {% block title -%} -Motion: {{motion.name}} +{{_('Motion')}}: {{motion.name}} {%- endblock %} {% block body %} {%- include 'motion.html' %} {%- if votes %} -
-
- Motion 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_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 %} +
+