{% extends "pretixpresale/event/base.html" %} {% load i18n %} {% load l10n %} {% load eventurl %} {% 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 %}

{% trans "Your cart" %} {% if cart.minutes_left > 0 or cart.seconds_left > 0 %} {{ cart.minutes_left|stringformat:"02d" }}:{{ cart.seconds_left|stringformat:"02d" }} {% else %} {% trans "Cart expired" %} {% endif %}

{% include "pretixpresale/event/fragment_cart.html" with cart=cart event=request.event editable=True %} {% if cart.minutes_left > 0 or cart.seconds_left > 0 %} {% blocktrans trimmed with minutes=cart.minutes_left %} The items in your cart are reserved for you for {{ minutes }} minutes. {% endblocktrans %} {% else %} {% trans "The items in your cart are no longer reserved for you." %} {% endif %}
{% endif %} {% if request.event.has_subevents %} {% if not subevent %} {% if event_logo and request.event.settings.logo_show_title %}

{{ event.name }}

{% endif %} {% if frontpage_text and not cart_namespace %}
{{ frontpage_text|rich_text }}
{% 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 %}
{% if list_type == "calendar" %} {% include "pretixpresale/event/fragment_subevent_calendar.html" %} {% elif list_type == "week" %} {% include "pretixpresale/event/fragment_subevent_calendar_week.html" %} {% else %} {% include "pretixpresale/event/fragment_subevent_list.html" %} {% endif %}
{% if subevent %}

{{ subevent.name }}

{% if frontpage_text and not cart_namespace %}
{{ frontpage_text|rich_text }}
{% endif %} {% endif %} {% else %} {% if event_logo and request.event.settings.logo_show_title %}

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

{% endif %} {% if frontpage_text and not cart_namespace %}
{{ 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 %}
{% if ev.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 %} {% include "pretixpresale/event/fragment_product_list.html" %} {% if ev.presale_is_running and display_add_to_cart %}
{% endif %}
{% endif %} {% endif %} {% if show_vouchers %}

{% trans "Redeem a voucher" %}

{% if event.settings.voucher_explanation_text %}
{{ event.settings.voucher_explanation_text|rich_text }}
{% endif %}
{% endif %} {% if not cart_namespace %} {% eventsignal event "pretix.presale.signals.front_page_bottom" subevent=subevent request=request %}

{% trans "If you already ordered a ticket" %}

{% blocktrans trimmed %} If you want to see or change the status and details of your order, click on the link in one of the emails we sent you during the order process. If you cannot find the link, click on the following button to request the link to your order to be sent to you again. {% endblocktrans %}

{% else %} {% eventsignal event "pretix.presale.signals.front_page_bottom_widget" subevent=subevent request=request %} {% endif %} {% endblock %}