{% extends "pretixpresale/event/base.html" %} {% load i18n %} {% load l10n %} {% load eventurl %} {% load thumbnail %} {% load eventsignal %} {% load rich_text %} {% block title %}{% trans "Presale" %}{% endblock %} {% block content %} {% autoescape off %} {% endautoescape %} {% if show_cart %}

{% 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 %}
{% if has_addon_choices %} {% trans "Continue" %} {% else %} {% trans "Proceed with checkout" %} {% endif %}
{% csrf_token %}
{% endif %} {% if show_dates %} {% if subevent %} {% trans "View other date" %} {% else %}

{% trans "Choose date to buy a ticket" %}

{% endif %}
{% if list_type == "calendar" %} {% include "pretixpresale/event/fragment_subevent_calendar.html" %} {% else %} {% include "pretixpresale/event/fragment_subevent_list.html" %} {% endif %}
{% if subevent %}

{{ subevent.name }}

{% endif %} {% endif %} {% if frontpage_text and not cart_namespace %}
{{ frontpage_text|rich_text }}
{% endif %} {% if subevent or not event.has_subevents %} {% if not ev.presale_is_running %}
{% if ev.presale_has_ended %} {% blocktrans trimmed %} The presale period for this event is over. {% endblocktrans %} {% elif event.settings.presale_start_show_date %} {% blocktrans trimmed with date=ev.presale_start|date:"SHORT_DATE_FORMAT" time=ev.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 %}

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

{% eventsignal event "pretix.presale.signals.front_page_top" %} {% endif %} {% if ev.presale_is_running or event.settings.show_items_outside_presale_period %}
{% csrf_token %} {% for tup in items_by_category %}
{% if tup.0 %}

{{ tup.0.name }}

{% if tup.0.description %}

{{ tup.0.description|localize|rich_text }}

{% endif %} {% endif %} {% for item in tup.1 %} {% if item.has_variations %}
{% if item.picture %} {{ item.name }} {% endif %}
{{ item.name }} {% if item.description %}
{{ item.description|localize|rich_text }}
{% endif %} {% if item.min_per_order and item.min_per_order > 1 %}

{% blocktrans trimmed with num=item.min_per_order %} minimum amount to order: {{ num }} {% endblocktrans %}

{% endif %}
{% if item.min_price != item.max_price or item.free_price %} {% blocktrans trimmed with minprice=item.min_price|floatformat:2 currency=event.currency %} from {{ currency }} {{ minprice }} {% endblocktrans %} {% elif not item.min_price and not item.max_price %} {% trans "FREE" context "price" %} {% else %} {{ event.currency }} {{ item.min_price|floatformat:2 }} {% endif %}
{% if not event.settings.show_variations_expanded %} {% trans "Show variants" %} {% endif %}
{% for var in item.available_variations %}
{{ var }} {% if var.description %}
{{ var.description|localize|rich_text }}
{% endif %} {% if event.settings.show_quota_left %} {% include "pretixpresale/event/fragment_quota_left.html" with avail=var.cached_availability %} {% endif %}
{% if item.free_price %}
{{ event.currency }}
{% elif not var.display_price.gross %} {% trans "FREE" context "price" %} {% elif event.settings.display_net_prices %} {{ event.currency }} {{ var.display_price.net|floatformat:2 }} {% else %} {{ event.currency }} {{ var.display_price.gross|floatformat:2 }} {% endif %} {% if var.display_price.rate and var.display_price.gross and event.settings.display_net_prices %} {% blocktrans trimmed with rate=var.display_price.rate name=var.display_price.name %} plus {{ rate }}% {{ name }} {% endblocktrans %} {% elif var.display_price.rate and var.display_price.gross %} {% blocktrans trimmed with rate=var.display_price.rate name=var.display_price.name %} incl. {{ rate }}% {{ name }} {% endblocktrans %} {% endif %}
{% if item.require_voucher %}
{% trans "Enter a voucher code below to buy this ticket." %}
{% elif var.cached_availability.0 == 100 %}
{% if item.max_per_order == 1 %} {% else %} {% endif %}
{% else %} {% include "pretixpresale/event/fragment_availability.html" with avail=var.cached_availability.0 event=event item=item var=var %} {% endif %}
{% endfor %}
{% else %}
{% if item.picture %} {{ item.name }} {% endif %}
{{ item.name }} {% if item.description %}
{{ item.description|localize|rich_text }}
{% endif %} {% if event.settings.show_quota_left %} {% include "pretixpresale/event/fragment_quota_left.html" with avail=item.cached_availability %} {% endif %} {% if item.min_per_order and item.min_per_order > 1 %}

{% blocktrans trimmed with num=item.min_per_order %} minimum amount to order: {{ num }} {% endblocktrans %}

{% endif %}
{% if item.free_price %}
{{ event.currency }}
{% elif not item.display_price.gross %} {% trans "FREE" context "price" %} {% elif event.settings.display_net_prices %} {{ event.currency }} {{ item.display_price.net|floatformat:2 }} {% else %} {{ event.currency }} {{ item.display_price.gross|floatformat:2 }} {% endif %} {% if item.display_price.rate and item.display_price.gross and event.settings.display_net_prices %} {% blocktrans trimmed with rate=item.display_price.rate name=item.display_price.name %} plus {{ rate }}% {{ name }} {% endblocktrans %} {% elif item.display_price.rate and item.display_price.gross %} {% blocktrans trimmed with rate=item.display_price.rate name=item.display_price.name %} incl. {{ rate }}% {{ name }} {% endblocktrans %} {% endif %}
{% if item.require_voucher %}
{% trans "Enter a voucher code below to buy this ticket." %}
{% elif item.cached_availability.0 == 100 %}
{% if item.max_per_order == 1 %} {% else %} {% endif %}
{% else %} {% include "pretixpresale/event/fragment_availability.html" with avail=item.cached_availability.0 event=event item=item var=0 %} {% endif %}
{% endif %} {% endfor %}
{% endfor %} {% if ev.presale_is_running and display_add_to_cart %}
{% endif %}
{% endif %} {% endif %} {% if vouchers_exist %}

{% trans "Redeem a voucher" %}

{% endif %} {% if not cart_namespace %} {% eventsignal event "pretix.presale.signals.front_page_bottom" %}

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

{% endif %} {% endblock %}