{% extends "pretixpresale/event/base.html" %} {% load i18n %} {% load l10n %} {% load eventurl %} {% load cache_large %} {% load money %} {% load thumb %} {% load eventsignal %} {% load rich_text %} {% block custom_header %} {{ block.super }} {% 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 and "year" not in request.GET %} {% 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 %} {% trans "Other dates" context "subevent" %} {% else %} {% trans "Dates" context "subevent" %} {% 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 %}

{{ 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 }} {% 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 presale period for this event is over. {% endblocktrans %} {% endif %} {% elif event.settings.presale_start_show_date %} {% blocktrans trimmed with date=ev.effective_presale_start|date:"SHORT_DATE_FORMAT" time=ev.effective_presale_start|time:"TIME_FORMAT" %} The presale for this event will start on {{ date }} at {{ time }}. {% endblocktrans %} {% else %} {% blocktrans trimmed %} The presale for this event has not yet started. {% endblocktrans %} {% endif %}
{% endif %} {% if not cart_namespace or subevent %}
{% if ev.location %}

{% trans "Location" %}: {{ ev.location|linebreaksbr }}

{% endif %} {% if ev.settings.show_dates_on_frontpage %}

{{ ev.get_date_range_display }} {% if event.settings.show_times %}
{% blocktrans trimmed with time=ev.date_from|date:"TIME_FORMAT" %} Begin: {{ time }} {% endblocktrans %} {% if event.settings.show_date_to and ev.date_to %}
{% blocktrans trimmed with time=ev.date_to|date:"TIME_FORMAT" %} End: {{ time }} {% endblocktrans %} {% endif %} {% endif %} {% if ev.date_admission %}
{% if ev.date_admission|date:"SHORT_DATE_FORMAT" == ev.date_from|date:"SHORT_DATE_FORMAT" %} {% blocktrans trimmed with time=ev.date_admission|date:"TIME_FORMAT" %} Admission: {{ time }} {% endblocktrans %} {% else %} {% blocktrans trimmed with datetime=ev.date_admission|date:"SHORT_DATETIME_FORMAT" %} Admission: {{ datetime }} {% endblocktrans %} {% endif %} {% endif %}
{% if subevent %} {% else %} {% endif %} {% trans "Add to Calendar" %}

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