Do not show end time if not set

This commit is contained in:
Raphael Michel
2018-05-10 10:23:25 +02:00
parent b09a92a264
commit c3a45a1584

View File

@@ -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 }}