X-Git-Url: https://code.wpia.club/?a=blobdiff_plain;f=templates%2Fmotion.html;h=a363c0e75ef433ede3469058369d949995595b50;hb=aa66d52ad5b00a2ee8da2accbcd58bde428d502b;hp=b0fb70da64ed7e155a34e378c6a2e9ecceec1751;hpb=1aa987d0d2f2c0a82b5bc0bbfe89eb1646b297a7;p=motion.git diff --git a/templates/motion.html b/templates/motion.html index b0fb70d..a363c0e 100644 --- a/templates/motion.html +++ b/templates/motion.html @@ -1,27 +1,31 @@ -
-
+
+
{{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 %}
Canceled: {{motion.canceled|timestamp}} (UTC) by {{motion.canceler}}
{%- else %} -
Votes until: {{motion.deadline|timestamp} (UTC)}
+
Votes until: {{motion.deadline|timestamp}} (UTC)
{%- endif %}
-
-

{{motion.content}}

+
+

{{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 %}