From 00d3c3336693ed849cb2d0f02e504d4e1aa0e66e Mon Sep 17 00:00:00 2001 From: boyska Date: Thu, 18 May 2017 20:38:59 +0200 Subject: [PATCH] scritta ora/stanza un poco meglio --- talks/_templates/talk.html | 21 ++++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) diff --git a/talks/_templates/talk.html b/talks/_templates/talk.html index 1e2eacb..f47da39 100644 --- a/talks/_templates/talk.html +++ b/talks/_templates/talk.html @@ -1,16 +1,23 @@

{{title}}

- {% if time is defined and day is defined %} - {# Vedi http://babel.pocoo.org/en/latest/dates.html #} -

{{day|dateformat(format='EEEE', locale=lang)}} - {{time.time()|timeformat(format='short', locale=lang)}}

+

+ {% if time is defined and day is defined %} + {# Vedi http://babel.pocoo.org/en/latest/dates.html #} + + {{day|dateformat(format='EEEE', locale=lang)}} + - + {{time.time()|timeformat(format='short', locale=lang)}} + {% else %} -

L'orario non è ancora stato fissato

- {% endif %} + L'orario non è ancora stato fissato + {% endif %} {# date-time #} {% if room is defined %} -

Stanza {{ room }}

+ Stanza {{ room }} {% endif %} -{% if needs: %} +

+ + {% if needs: %}
Materiale necessario: {{needs|join(", ")}}