X-Git-Url: https://code.wpia.club/?a=blobdiff_plain;f=templates%2Fmotion.html;h=a363c0e75ef433ede3469058369d949995595b50;hb=0e21faff8279cf573c0483ff3be5092beef0e8e9;hp=10dddcc59ac263abfe0718e1eb9e9d7806e3072e;hpb=fb14879eed07a490aab3a9263db29e4a0323ae41;p=motion.git diff --git a/templates/motion.html b/templates/motion.html index 10dddcc..a363c0e 100644 --- a/templates/motion.html +++ b/templates/motion.html @@ -1,22 +1,31 @@ -
-
- # +
+
{{motion.name}} ({{ 'Running' if motion.running else ('Canceled' if motion.canceled != None else 'Finished') }}) {{motion.type}} +
# {{motion.identifier}} +{%- if singlemotion == False %} + {{ 'Vote' if motion.running else 'Result' }} +{%- endif %} +
-
Posed: {{motion.posed|timestamp}} by {{motion.poser}}
+
Proposed: {{motion.posed|timestamp}} (UTC) by {{motion.poser}}
{%- if motion.canceled != None %} -
Canceled: {{motion.canceled|timestamp}} by {{motion.canceler}}
+
Canceled: {{motion.canceled|timestamp}} (UTC) by {{motion.canceler}}
{%- else %} -
Votes until: {{motion.deadline|timestamp}}
+
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 %}