From c3a45a1584db9f79a798c3c894e6f5432a7f4830 Mon Sep 17 00:00:00 2001 From: Raphael Michel Date: Thu, 10 May 2018 10:23:25 +0200 Subject: [PATCH] Do not show end time if not set --- src/pretix/presale/templates/pretixpresale/event/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pretix/presale/templates/pretixpresale/event/index.html b/src/pretix/presale/templates/pretixpresale/event/index.html index feb788761..bb0043584 100644 --- a/src/pretix/presale/templates/pretixpresale/event/index.html +++ b/src/pretix/presale/templates/pretixpresale/event/index.html @@ -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 %}
{% blocktrans trimmed with time=ev.date_to|date:"TIME_FORMAT" %} End: {{ time }}