{% 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 %} {% if cart.positions %}

{% trans "Your cart" %}

{% include "pretixpresale/event/fragment_cart.html" with cart=cart event=request.event editable=True %} {% if cart.minutes_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 %}
{% csrf_token %}
{% if has_addon_choices %} {% trans "Continue" %} {% else %} {% trans "Proceed with checkout" %} {% endif %}
{% endif %} {% if not event.presale_is_running %}
{% if event.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=event.presale_start|date:"SHORT_DATE_FORMAT" time=event.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 frontpage_text %}
{{ frontpage_text|rich_text }}
{% endif %}

{% trans "Add to Calendar" %}

{% eventsignal event "pretix.presale.signals.front_page_top" %} {% if event.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 %}

{% 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 %} {% 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 }}
{% else %} {{ event.currency }} {{ var.display_price|floatformat:2 }} {% endif %} {% if item.tax_rate and event.settings.display_net_prices %} {% blocktrans trimmed with rate=item.tax_rate %} plus {{ rate }}% taxes {% endblocktrans %} {% elif item.tax_rate %} {% blocktrans trimmed with rate=item.tax_rate %} incl. {{ rate }}% taxes {% 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 %}

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

{% endif %}
{% if item.free_price %}
{{ event.currency }}
{% else %} {{ event.currency }} {{ item.display_price|floatformat:2 }} {% endif %} {% if item.tax_rate and event.settings.display_net_prices %} {% blocktrans trimmed with rate=item.tax_rate %} plus {{ rate }}% taxes {% endblocktrans %} {% elif item.tax_rate %} {% blocktrans trimmed with rate=item.tax_rate %} incl. {{ rate }}% taxes {% 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 event.presale_is_running and display_add_to_cart %}
{% endif %}
{% endif %} {% if vouchers_exist %}

{% trans "Redeem a voucher" %}

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

{% endblock %}