diff --git a/talks/_templates/talk.html b/talks/_templates/talk.html index 366de2b..fdc0318 100644 --- a/talks/_templates/talk.html +++ b/talks/_templates/talk.html @@ -9,6 +9,10 @@ {{day|dateformat(format='EEEE', locale=lang)}} - {{time.time()|timeformat(format='short', locale=lang)}} + {% if duration %} ( + {%- if duration >= 60 -%}{{duration//60}}h{%- endif -%} + {%- if duration % 60 != 0 -%}{{duration%60}}m {%- endif -%}) + {% endif %} {% else %} L'orario non รจ ancora stato fissato