X-Git-Url: https://code.wpia.club/?a=blobdiff_plain;f=templates%2Fmotion.html;h=b0fb70da64ed7e155a34e378c6a2e9ecceec1751;hb=1aa987d0d2f2c0a82b5bc0bbfe89eb1646b297a7;hp=6609d20920c455f4323e9cbd3213781d97eb6666;hpb=fab51f8d9723fb7095b5f3c4f1af59ad93049fb1;p=motion.git diff --git a/templates/motion.html b/templates/motion.html index 6609d20..b0fb70d 100644 --- a/templates/motion.html +++ b/templates/motion.html @@ -1,10 +1,20 @@ -
+
- # - {{motion.name}} ({{ 'Running' if motion.running else 'Finished' }}) + {{motion.name}} ({{ 'Running' if motion.running else ('Canceled' if motion.canceled != None else 'Finished') }}) + {{motion.type}} +
# {{motion.identifier}}
-
Posed: {{motion.posed|timestamp}}
-
Votes until: {{motion.deadline|timestamp}}
+
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)}
+{%- endif %}

{{motion.content}}

@@ -14,6 +24,9 @@ {{vote|capitalize}} {{motion[vote]}}
{%- endfor %}

+{%- endif %} +{%- if motion.canceled != None %} +

Cancelation reason: {{motion.cancelation_reason}}

{%- endif %}
{%- block content %}{% endblock %}