Do not show end time if not set

This commit is contained in:
Raphael Michel
2018-05-11 14:46:06 +02:00
parent 904dc80aab
commit 1f01ef6e37
@@ -167,7 +167,7 @@
{% blocktrans trimmed with time=ev.date_from|date:"TIME_FORMAT" %}
Begin: {{ time }}
{% endblocktrans %}
{% if event.settings.show_date_to %}
{% if event.settings.show_date_to and ev.date_to %}
<br>
{% blocktrans trimmed with time=ev.date_to|date:"TIME_FORMAT" %}
End: {{ time }}