X-Git-Url: https://code.wpia.club/?a=blobdiff_plain;f=templates%2Fsingle_motion.html;h=61611adf1468151d0485800717371d9eb1aaa031;hb=4cfc1bb07644043d1e223178a98ea47f6a61d338;hp=c53e4b51307bb67b66d5b7079662fa89bc8c8c29;hpb=a2361dff44b3bf95ad7f367484b6bc805b22819d;p=motion.git diff --git a/templates/single_motion.html b/templates/single_motion.html index c53e4b5..61611ad 100644 --- a/templates/single_motion.html +++ b/templates/single_motion.html @@ -1,17 +1,17 @@ {% 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}}{%- if row.proxyemail %} : given by {{row.proxyemail}}{%- endif %}
+
{{row.email}}: {{row.result}}{%- if row.proxyemail %} : {_('given by')}} {{row.proxyemail}}{%- endif %}
{%- endfor %}
@@ -22,24 +22,25 @@ Motion: {{motion.name}} {%- if may_vote %}
-

My vote

+

{{_('My vote')}}

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

Vote for {{p.email}}

+

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

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