X-Git-Url: https://code.wpia.club/?a=blobdiff_plain;f=templates%2Fmotion.html;h=a363c0e75ef433ede3469058369d949995595b50;hb=4af338e33108c609381f4c60b6cc12b50da7f107;hp=afc15619644654ba17dcf3ced507403400d3451c;hpb=63a94b5a4f9ed652be936ceeaefe00215d49b0bd;p=motion.git diff --git a/templates/motion.html b/templates/motion.html index afc1561..a363c0e 100644 --- a/templates/motion.html +++ b/templates/motion.html @@ -1,13 +1,17 @@ -
-
+
+
{{motion.name}} ({{ 'Running' if motion.running else ('Canceled' if motion.canceled != None else 'Finished') }}) {{motion.type}} -
# {{motion.identifier}}
+
# {{motion.identifier}} +{%- if singlemotion == False %} + {{ 'Vote' if motion.running else 'Result' }} +{%- endif %} +
Proposed: {{motion.posed|timestamp}} (UTC) by {{motion.poser}}
{%- if motion.canceled != None %} @@ -16,12 +20,12 @@
Votes until: {{motion.deadline|timestamp}} (UTC)
{%- endif %}
-
+

{{motion.content|markdown}}

{%- if motion.yes or motion.no or motion.abstain %}

{%- for vote in ['yes', 'no', 'abstain'] %} -{{vote|capitalize}} {{motion[vote]}}
+{{vote|capitalize}} {{motion[vote]}}
{%- endfor %}

{%- endif %}