scritta ora/stanza un poco meglio

This commit is contained in:
boyska 2017-05-18 20:38:59 +02:00
parent 3e271ae577
commit 00d3c33366
No known key found for this signature in database
GPG key ID: 7395DCAE58289CA9

View file

@ -1,16 +1,23 @@
<div id="talk-{{id}}">
<h3 class="talk-title">{{title}}</h3>
<div class="talk-info">
{% if time is defined and day is defined %}
{# Vedi http://babel.pocoo.org/en/latest/dates.html #}
<p>{{day|dateformat(format='EEEE', locale=lang)}} - {{time.time()|timeformat(format='short', locale=lang)}}</p>
<p>
{% if time is defined and day is defined %}
{# Vedi http://babel.pocoo.org/en/latest/dates.html #}
<span>
{{day|dateformat(format='EEEE', locale=lang)}}
-
{{time.time()|timeformat(format='short', locale=lang)}}
</span>
{% else %}
<p><i>L'orario non è ancora stato fissato</i></p>
{% endif %}
<i>L'orario non è ancora stato fissato</i>
{% endif %} {# date-time #}
{% if room is defined %}
<p>Stanza {{ room }}</p>
<span>Stanza {{ room }}</span>
{% endif %}
{% if needs: %}
</p>
{% if needs: %}
<div class="talk-needs">
<strong>Materiale necessario:</strong>
{{needs|join(", ")}}