{% extends "pretixpresale/event/base.html" %} {% load i18n %} {% load l10n %} {% load eventurl %} {% load cache_large %} {% load money %} {% load thumb %} {% load eventsignal %} {% load rich_text %} {% block title %} {% if "year" in request.GET %} {% if list_type == "calendar" %} {% blocktrans with datetime=date|date:"F Y" %} Calendar for {{ datetime }} {% endblocktrans %} :: {% elif list_type == "week" %} {% blocktrans with datetime=date|date:week_format %} Calendar for {{ datetime }} {% endblocktrans %} :: {% endif %} {% elif subevent %} {{ subevent.get_date_range_display }} :: {% endif %} {% endblock %} {% block custom_header %} {{ block.super }} {% if request.event.has_subevents and not subevent %} {% else %} {% endif %} {% if subevent %} {% else %} {% endif %} {% endblock %} {% block content %} {% autoescape off %} {% endautoescape %}
{% if show_cart %} {% include "pretixpresale/event/fragment_cart_box.html" with open=1 %} {% endif %} {% if request.event.has_subevents %} {% if not subevent %} {% if event_logo and event_logo_show_title %}

{{ event.name }}

{% endif %} {% if frontpage_text %}
{{ frontpage_text|rich_text }}
{% endif %} {% if request.GET.voucher %}

{% trans "Please select a date to redeem your voucher." %}

{% endif %} {% endif %} {% if subevent_list_foldable %}
{% else %}
{% endif %}

{% 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 %}

{{ event.name }} {% if request.event.settings.show_dates_on_frontpage %} {{ event.get_date_range_display_as_html }} {% endif %}

{% endif %} {% if frontpage_text %}
{{ frontpage_text|rich_text }}
{% 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 %}
{% eventsignal event "pretix.presale.signals.front_page_top" request=request subevent=subevent %} {% endif %} {% if ev.presale_is_running or event.settings.show_items_outside_presale_period %}
{% csrf_token %} {% if ev.seating_plan_id and event.settings.seating_choice %} {% if event.has_subevents %} {% eventsignal event "pretix.presale.signals.render_seating_plan" request=request subevent=subevent %} {% else %} {% eventsignal event "pretix.presale.signals.render_seating_plan" request=request %} {% endif %} {% endif %} {% if waitinglist_seated %} {% endif %} {% include "pretixpresale/event/fragment_product_list.html" %} {% if ev.presale_is_running and display_add_to_cart %}
{% endif %}
{% endif %} {% endif %}
{% if show_vouchers %} {% endif %} {% if not cart_namespace %} {% eventsignal event "pretix.presale.signals.front_page_bottom" subevent=subevent request=request %} {% else %} {% eventsignal event "pretix.presale.signals.front_page_bottom_widget" subevent=subevent request=request %} {% endif %} {% endblock %}