{% if subevent_list_foldable %}
{% if show_cart %}
{% trans "Add tickets for a different date" %}
{% else %}
{% trans "View other date" %}
{% endif %}
{% else %}
{% trans "Choose date to book a ticket" %}
{% endif %}
{% if subevent_list_foldable %}
{% else %}
{% endif %}
{% if filter_form.fields %}
{% include "pretixpresale/fragment_event_list_filter.html" with request=request %}
{% endif %}
{% cache_large 15 subevent_list subevent_list_cache_key %}
{% if subevent_list.list_type == "calendar" %}
{% include "pretixpresale/event/fragment_subevent_calendar.html" %}
{% elif subevent_list.list_type == "week" %}
{% include "pretixpresale/event/fragment_subevent_calendar_week.html" %}
{% else %}
{% include "pretixpresale/event/fragment_subevent_list.html" %}
{% endif %}
{% endcache_large %}
{% if subevent_list_foldable %}
{% else %}
{% endif %}
{% if subevent %}
{{ subevent.name }}
{% if frontpage_text %}
{{ frontpage_text|rich_text }}
{% endif %}
{% endif %}
{% else %}
{% if event_logo and event_logo_show_title %}
{% endif %}
{% endif %}
{% if subevent or not event.has_subevents %}
{% if not ev.presale_is_running %}
{% if ev.presale_has_ended %}
{% if event.settings.presale_has_ended_text %}
{{ event.settings.presale_has_ended_text|rich_text }}
{% else %}
{% blocktrans trimmed %}
The booking period for this event is over.
{% endblocktrans %}
{% endif %}
{% elif event.settings.presale_start_show_date %}
{% with date=ev.effective_presale_start|date:"SHORT_DATE_FORMAT" date_normalized=ev.effective_presale_start|date:"Y-m-d" %}
{% with time=ev.effective_presale_start|time:"TIME_FORMAT" time_24h=ev.effective_presale_start|time:"H:i" %}
{% blocktrans trimmed with date=""|safe time=""|safe %}
The booking period for this event will start on {{ date }} at {{ time }}.
{% endblocktrans %}
{% endwith %}
{% endwith %}
{% else %}
{% blocktrans trimmed %}
The booking period for this event has not yet started.
{% endblocktrans %}
{% endif %}
{% endif %}
{% if not cart_namespace or subevent %}
{% include "pretixpresale/event/fragment_event_info.html" with event=request.event subevent=subevent ev=ev show_location=True %}