]> git.parisson.com Git - mezzo.git/commitdiff
Remove the end hour from the event date template
authorJérémy Fabre <Jeremy@iMac-de-Jeremy.local>
Wed, 28 Sep 2016 09:17:15 +0000 (11:17 +0200)
committerJérémy Fabre <Jeremy@iMac-de-Jeremy.local>
Wed, 28 Sep 2016 09:17:15 +0000 (11:17 +0200)
app/templates/agenda/includes/event_date.html

index 9bbb71045f3141ef8f23d44a0a2712336b86bfce..378c5b78a26d7f63fcabce775b929f274e0845e4 100644 (file)
         {% 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 %}
 
     <!-- Start and end date are the same month  -->