X-Git-Url: https://code.wpia.club/?a=blobdiff_plain;f=templates%2Fmotion.html;h=9e7f2a8904779bbcae93e3979ab73ae18ef2bb89;hb=5e20a497d0fd1e068bb038e6e9d468c6104f4e30;hp=f0d28bd27b1d86250b4a584f4255f0745955dd8c;hpb=3fa30aa4d465c8a629c54c3bf491959ae80d6878;p=motion.git diff --git a/templates/motion.html b/templates/motion.html index f0d28bd..9e7f2a8 100644 --- a/templates/motion.html +++ b/templates/motion.html @@ -1,21 +1,27 @@ -
-
- # +
+
{{motion.name}} ({{ 'Running' if motion.running else ('Canceled' if motion.canceled != None else 'Finished') }}) + {{motion.type}} +
# {{motion.identifier}}
-
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 %}