X-Git-Url: https://code.wpia.club/?a=blobdiff_plain;f=templates%2Fmotion.html;h=9e7f2a8904779bbcae93e3979ab73ae18ef2bb89;hb=987c5c0e05127d16c13a8539c9770af679a1d859;hp=afc15619644654ba17dcf3ced507403400d3451c;hpb=63a94b5a4f9ed652be936ceeaefe00215d49b0bd;p=motion.git diff --git a/templates/motion.html b/templates/motion.html index afc1561..9e7f2a8 100644 --- a/templates/motion.html +++ b/templates/motion.html @@ -1,10 +1,10 @@ -
-
+
+
{{motion.name}} ({{ 'Running' if motion.running else ('Canceled' if motion.canceled != None else 'Finished') }}) {{motion.type}}
# {{motion.identifier}}
@@ -16,12 +16,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 %}