From: Jérémy Fabre Date: Wed, 28 Sep 2016 09:17:15 +0000 (+0200) Subject: Remove the end hour from the event date template X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=7340c2c6faca83752d9542bea7b6879370ef501c;p=mezzo.git Remove the end hour from the event date template --- diff --git a/app/templates/agenda/includes/event_date.html b/app/templates/agenda/includes/event_date.html index 9bbb7104..378c5b78 100644 --- a/app/templates/agenda/includes/event_date.html +++ b/app/templates/agenda/includes/event_date.html @@ -23,10 +23,12 @@ {% if event.start|date:"H:i" != "23:59" %} {% trans "from" %} {{ event.start|date:"H\hi" }} - {% if event.end|date:"H:i" != "23:59" %} - {% trans "to" %} - {{ event.end|date:"H\hi" }} - {% endif %} + {% comment %} + {% if event.end|date:"H:i" != "23:59" %} + {% trans "to" %} + {{ event.end|date:"H\hi" }} + {% endif %} + {% endcomment %} {% endif %}