- - {{ item.name }} - -
+{{ item.name }}
{% if item.description %} -{% if c.price_included %} + {% trans "free" context "price" %} {% elif item.free_price %} {% blocktrans trimmed with price=item.min_price|money:event.currency %} from {{ price }} {% endblocktrans %} {% elif item.min_price != item.max_price %} - {{ item.min_price|money:event.currency }} – {{ item.max_price|money:event.currency }} + + {% blocktrans trimmed with from_price=item.min_price|money:event.currency to_price=item.max_price|money:event.currency %} + from {{ from_price }} to {{ to_price }} + {% endblocktrans %} + + {% elif not item.min_price and not item.max_price %} {% else %} {{ item.min_price|money:event.currency }} {% endif %} +
+
{% trans "Confirmations" %}
+
-
- {% trans "Log in with a customer account" %}
-
-
+
+
-
- {% trans "Create a new customer account" %}
-
-
+
+
-
- {% trans "Continue as a guest" %}
-
-
+
-
- {{ form.position.subevent.name }} · {{ form.position.subevent.get_date_range_display }}
+ {{ form.position.subevent.name }} · {{ form.position.subevent.get_date_range_display_as_html }}
{% if form.position.event.settings.show_times %}
diff --git a/src/pretix/presale/templates/pretixpresale/event/checkout_payment.html b/src/pretix/presale/templates/pretixpresale/event/checkout_payment.html
index 48bf1929a..5b033ae22 100644
--- a/src/pretix/presale/templates/pretixpresale/event/checkout_payment.html
+++ b/src/pretix/presale/templates/pretixpresale/event/checkout_payment.html
@@ -13,9 +13,9 @@
- {% trans "Gift card code" %} -
- {{ gc.secret }} - {% endfor %} -
- - {% trans "Attendee name" %} - -
- - - {% if line.attendee_name %}{{ line.attendee_name }}{% else %}{% trans "No attendee name provided" %}{% endif %} - - - {% endif %} - {% if line.item.admission and event.settings.attendee_emails_asked and line.attendee_email %} -
- - {% trans "Attendee email" %} - -
- - - {{ line.attendee_email }} - - - {% endif %} - {% if line.item.admission and event.settings.attendee_addresses_asked %} -
- - {% trans "Attendee company" %} - -
- - - {{ line.company }} - - - {% endif %} - {% if line.item.admission and event.settings.attendee_addresses_asked %} - {% if line.street or line.zipcode or line.city %} -
- - {% trans "Attendee address" %} - -
-
-
- {{ line.street|default_if_none:""|linebreaksbr }}
- {{ line.zipcode|default_if_none:"" }} {{ line.city|default_if_none:"" }}
- {{ line.country.name|default_if_none:"" }} - {% if line.state %}
{{ line.state }}{% endif %} - -
- {% endif %}
- {% endif %}
- {% for q in line.questions %}
- - {{ q.question }} + {% if line.subevent %} + +
- Status +
- {% include "pretixpresale/event/fragment_order_status.html" with order=order event=request.event %} +
- Status +
- {% include "pretixpresale/event/fragment_order_status.html" with order=order event=request.event %} +
- {% trans "Contact event organizer" %} {% endif %} {% if not request.event and request.organizer.settings.imprint_url %} - {% trans "Imprint" %} - · +
- {% trans "Imprint" %} {% endif %} {% endblock %} diff --git a/src/pretix/presale/templates/pretixpresale/organizers/calendar.html b/src/pretix/presale/templates/pretixpresale/organizers/calendar.html index d2ff0dc20..baf3faf88 100644 --- a/src/pretix/presale/templates/pretixpresale/organizers/calendar.html +++ b/src/pretix/presale/templates/pretixpresale/organizers/calendar.html @@ -42,13 +42,13 @@ {% trans "iCal" %} -
+
{% if show_fees %}
{% if p.fee < 0 %}-{% else %}+{% endif %} {{ p.fee|money:event.currency|cut:"-" }}
{% endif %}
@@ -23,33 +23,39 @@
title="{{ p.provider.public_name }}"
data-parent="#payment_accordion"
{% if selected == p.provider.identifier %}checked="checked"{% endif %}
+ id="input_payment_{{ p.provider.identifier }}"
+ aria-describedby="payment_{{ p.provider.identifier }}"
data-toggle="radiocollapse" data-target="#payment_{{ p.provider.identifier }}"/>
- {{ p.provider.public_name }}
-
+
{{ p.provider.test_mode_message }}
{% trans "This sales channel does not provide support for test mode." %} {% trans "If you continue, you might pay an actual order with non-existing money!" %} +
{% trans "This payment provider does not provide support for test mode." %} {% trans "If you continue, actual money might be transferred." %} +
-
+
{% trans "Contact information" %}
-
+
{% trans "Contact information" %} -
-
+
{% trans "Invoice information" %}{% if not event.settings.invoice_address_required and not event.settings.invoice_name_required %}
{% trans "(optional)" %}
{% endif %}
-
+
{% if addresses_data %}
{{ addresses_data|json_script:"addresses_json" }}
@@ -77,7 +77,7 @@
{% for pos, forms in formgroups %}
{% trans "Invoice information" %}{% if not event.settings.invoice_address_required and not event.settings.invoice_name_required %} {% trans "(optional)" %} {% endif %} -
-
+
{{ pos.item.name }}
{% if pos.variation %}
– {{ pos.variation }}
@@ -93,7 +93,7 @@
{% else %}
{% endif %}
-
+
{{ pos.item.name }} {% if pos.variation %} – {{ pos.variation }} @@ -93,7 +93,7 @@ {% else %} {% endif %} -
-
- {{ pos.subevent.name }} · {{ pos.subevent.get_date_range_display }}
+ {{ pos.subevent.name }} · {{ pos.subevent.get_date_range_display_as_html }}
{% if pos.event.settings.show_times %}
diff --git a/src/pretix/presale/templates/pretixpresale/event/fragment_cart.html b/src/pretix/presale/templates/pretixpresale/event/fragment_cart.html
index 1edb830a2..0f2824454 100644
--- a/src/pretix/presale/templates/pretixpresale/event/fragment_cart.html
+++ b/src/pretix/presale/templates/pretixpresale/event/fragment_cart.html
@@ -4,348 +4,397 @@
{% load rich_text %}
{% load money %}
{% blocktrans asvar s_taxes %}taxes{% endblocktrans %}
-{% for line in cart.positions %}
-
+ {% if line.addon_to %} + + + {% endif %} + {{ line.item.name }} + {% if line.variation %} + – {{ line.variation }} + {% endif %} +
+ {% if line.seat or line.voucher or line.subevent or line.used_membership%} +-
+ {% endif %}
+ {% if line.seat %}
+
{% endif %}
+ {% if line.voucher %}
+
{% endif %}
- {% endif %}
- {% if line.used_membership %}
-
- {% endif %}
-
- {% if line.issued_gift_cards %}
-
-
- {% for gc in line.issued_gift_cards.all %}
-
-
- {% if line.item.admission and event.settings.attendee_names_asked %}
-
- {% endif %} - {% if line.item.admission and event.settings.attendee_company_asked and line.company %} -
- - {% blocktrans trimmed with rate=line.tax_rate|floatformat:-2 taxname=line.tax_rule.name|default:s_taxes %} - plus {{ rate }}% {{ taxname }} - {% endblocktrans %} - - {% endif %} - {% else %} - {{ line.total|money:event.currency }} - {% if line.tax_rate and line.total %} -
- - {% blocktrans trimmed with rate=line.tax_rate|floatformat:-2 taxname=line.tax_rule.name|default:s_taxes %} - incl. {{ rate }}% {{ taxname }} - {% endblocktrans %} - - {% endif %} - {% endif %} -
- - {% blocktrans trimmed with rate=fee.tax_rate|floatformat:-2 taxname=fee.tax_rule.name|default:s_taxes %} - plus {{ rate }}% {{ taxname }} - {% endblocktrans %} - - {% endif %} - {% else %} - {{ fee.value|money:event.currency }} - {% if fee.tax_rate %} -
- - {% blocktrans trimmed with rate=fee.tax_rate|floatformat:-2 taxname=fee.tax_rule.name|default:s_taxes %} - incl. {{ rate }}% {{ taxname }} - {% endblocktrans %} - - {% endif %} - {% endif %} -
- - {% blocktrans trimmed count num=cart.itemcount %} - One product - {% plural %} - {{ num }} products - {% endblocktrans %} - -
- - {% trans "Redeem a voucher" %} - - - {% endif %} +
+ + {% blocktrans trimmed with rate=line.tax_rate|floatformat:-2 taxname=line.tax_rule.name|default:s_taxes %} + plus {{ rate }}% {{ taxname }} + {% endblocktrans %} + + {% endif %} + {% else %} + {{ line.total|money:event.currency }} + {% if line.tax_rate and line.total %} +
+ + {% blocktrans trimmed with rate=line.tax_rate|floatformat:-2 taxname=line.tax_rule.name|default:s_taxes %} + incl. {{ rate }}% {{ taxname }} + {% endblocktrans %} + + {% endif %} + {% endif %} +
+ + {% blocktrans trimmed with rate=fee.tax_rate|floatformat:-2 taxname=fee.tax_rule.name|default:s_taxes %} + plus {{ rate }}% {{ taxname }} + {% endblocktrans %} + + {% endif %} + {% else %} + {{ fee.value|money:event.currency }} + {% if fee.tax_rate %} +
+ + {% blocktrans trimmed with rate=fee.tax_rate|floatformat:-2 taxname=fee.tax_rule.name|default:s_taxes %} + incl. {{ rate }}% {{ taxname }} + {% endblocktrans %} + + {% endif %} + {% endif %} +
+ + {% blocktrans trimmed count num=cart.itemcount %} + One product + {% plural %} + {{ num }} products + {% endblocktrans %} + +
+ {% 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. You can still complete your order as long as they’re available." %} + {% endif %} +
+ {% else %} +{% trans "Overview of your ordered products." %}
+ {% endif %}
-
-
-
- {% 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 %}
-
-
-
-
+
+ {% 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 %} - - - -
{% trans "Ticket download" %}
{% if cart.positions|length > 1 and can_download_multi %} {# never True on ticket page #} - {% blocktrans trimmed %} ++ {% blocktrans trimmed %} Please have your ticket ready when entering the event. - {% endblocktrans %} -
- {% trans "Download all tickets at once:" %} - {% for b in download_buttons %} - {% if b.multi %} -
- {% endif %} - {% endfor %} + {% endblocktrans %} {% elif tickets_with_download|length == 1 %} - {% blocktrans trimmed %} - Please have your ticket ready when entering the event. - {% endblocktrans %} - {% blocktrans trimmed %} - Download your ticket here: - {% endblocktrans %} -+
+ {% blocktrans trimmed %} + Please have your ticket ready when entering the event. + {% endblocktrans %}
{% else %} +
{% blocktrans trimmed %}
Please have your ticket ready when entering the event.
- {% endblocktrans %}
+ {% endblocktrans %}
{% blocktrans trimmed %}
Download your tickets using the buttons below.
{% endblocktrans %}
+
{{ tup.0.name }}
{% if tup.0.description %}{% trans "Uncategorized products" %}
{% endif %} {% for item in tup.1 %} {% if item.has_variations %} -
+
+
{% if item.picture %}
{% endif %}
-
-
- {{ item.name }}
-
-
+ {{ item.name }}
{% if item.description %}
-
+
{{ item.description|localize|rich_text }}
{% endif %}
@@ -60,9 +52,14 @@
from {{ price }}
{% endblocktrans %}
{% elif item.min_price != item.max_price %}
- {{ item.min_price|money:event.currency }} – {{ item.max_price|money:event.currency }}
+
+ {% blocktrans trimmed with from_price=item.min_price|money:event.currency to_price=item.max_price|money:event.currency %}
+ from {{ from_price }} to {{ to_price }}
+ {% endblocktrans %}
+
+
{% elif not item.min_price and not item.max_price %}
- {% trans "FREE" context "price" %}
+ {% trans "free" context "price" %}
{% else %}
{{ item.min_price|money:event.currency }}
{% endif %}
@@ -88,24 +85,23 @@
{% endif %}
{% endif %}
-
+
+
{% endif %}
-
+
-
{% else %}
-
+
{% if item.picture %}
{% endif %}
-
- {{ item.name }}
-
+ {{ item.name }}
{% if item.description %}
-
+
{{ item.description|localize|rich_text }}
{% endif %}
@@ -235,17 +237,26 @@
{% if item.original_price %}
+
+ {% trans "Orignal price:" %}
{% if event.settings.display_net_prices %}
- {{ item.original_price.net|money:event.currency }}
+ {{ item.original_price.net|money:event.currency }}
{% else %}
- {{ item.original_price.gross|money:event.currency }}
+ {{ item.original_price.gross|money:event.currency }}
{% endif %}
-
+
+ {% if item.free_price %}
+
+ {% else %}
+ {% trans "New price:" %}
+ {% endif %}
+ {% elif not item.free_price %}
+
{% endif %}
{% if item.free_price %}
- {% blocktrans trimmed with item=item.name %}Modify price for {{ item }}{% endblocktrans %}
- {{ event.currency }}
+ {% blocktrans trimmed with item=item.name currency=event.currency %}Set price in {{ currency }} for {{ item }}{% endblocktrans %}
+
+
{% elif not item.display_price.gross %}
{% trans "FREE" context "price" %}
- {% elif event.settings.display_net_prices %}
+ {% elif event.settings.display_net_prices %}
{{ item.display_price.net|money:event.currency }}
{% else %}
{{ item.display_price.gross|money:event.currency }}
@@ -280,12 +292,11 @@
incl. {{ rate }}% {{ name }}
{% endblocktrans %}
{% endif %}
+
{% if item.require_voucher %}
-
- {% trans "Enter a voucher code below to buy this ticket." %}
-
+ {% trans "Enter a voucher code below to buy this ticket." %}
{% elif item.cached_availability.0 == 100 %}
@@ -293,16 +304,19 @@
+ name="item_{{ item.id }}" id="item_{{ item.id }}"
+ aria-label="{% blocktrans with item=item.name %}Add {{ item }} to cart{% endblocktrans %}"
+ {% if item.description %} aria-describedby="item-{{ item.id }}-description"{% endif %}>
{% else %}
+ aria-label="{% blocktrans with item=item.name %}Quantity of {{ item }} to order{% endblocktrans %}"
+ {% if item.description %} aria-describedby="item-{{ item.id }}-description"{% endif %}>
{% endif %}
{% else %}
diff --git a/src/pretix/presale/templates/pretixpresale/event/fragment_subevent_calendar.html b/src/pretix/presale/templates/pretixpresale/event/fragment_subevent_calendar.html
index 5a223238b..d19ccc8b8 100644
--- a/src/pretix/presale/templates/pretixpresale/event/fragment_subevent_calendar.html
+++ b/src/pretix/presale/templates/pretixpresale/event/fragment_subevent_calendar.html
@@ -1,41 +1,46 @@
{% load i18n %}
{% load eventurl %}
{% load urlreplace %}
-
+
+
+
{% include "pretixpresale/fragment_calendar.html" with show_avail=event.settings.event_list_availability weeks=subevent_list.weeks show_names=subevent_list.show_names %}
diff --git a/src/pretix/presale/templates/pretixpresale/event/fragment_subevent_calendar_week.html b/src/pretix/presale/templates/pretixpresale/event/fragment_subevent_calendar_week.html
index 0f6e6f35c..ed3d08975 100644
--- a/src/pretix/presale/templates/pretixpresale/event/fragment_subevent_calendar_week.html
+++ b/src/pretix/presale/templates/pretixpresale/event/fragment_subevent_calendar_week.html
@@ -1,46 +1,50 @@
{% load i18n %}
{% load eventurl %}
{% load urlreplace %}
-
- {% for f, v in request.GET.items %}
- {% if f != "week" and f != "year" %}
-
- {% endif %}
- {% endfor %}
-
-
-
-
-
-
-
-
-
-
+
+
+
{% include "pretixpresale/fragment_week_calendar.html" with show_avail=event.settings.event_list_availability days=subevent_list.days show_names=subevent_list.show_names %}
-
+
-
+
+
{% endfor %}
+
diff --git a/src/pretix/presale/templates/pretixpresale/event/index.html b/src/pretix/presale/templates/pretixpresale/event/index.html
index 960bbe36f..ba75891dd 100644
--- a/src/pretix/presale/templates/pretixpresale/event/index.html
+++ b/src/pretix/presale/templates/pretixpresale/event/index.html
@@ -8,6 +8,22 @@
{% 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 }}
@@ -45,22 +61,24 @@
{% if request.GET.voucher %}
- {% trans "Please select a date to redeem your voucher." %}
+ {% trans "Please select a date to redeem your voucher." %}
{% endif %}
{% endif %}
{% if subevent and "year" not in request.GET %}
+
{% if show_cart %}
-
+
+
{% else %}
-
+
+
{% endif %}
+
{% else %}
{% trans "Choose date to book a ticket" %}
{% endif %}
@@ -99,7 +117,7 @@
{{ event.name }}
{% if request.event.settings.show_dates_on_frontpage %}
- {{ event.get_date_range_display }}
+ {{ event.get_date_range_display_as_html }}
{% endif %}
{% endif %}
@@ -122,11 +140,15 @@
{% 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 %}
-
+ {% 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 presale for this event will start on {{ date }} at {{ time }}.
+ {% endblocktrans %}
+
+ {% endwith %}
+ {% endwith %}
{% else %}
{% blocktrans trimmed %}
The presale for this event has not yet started.
@@ -138,46 +160,54 @@
{% if ev.location %}
-
- {% trans "Location" %}:
+
+
{% trans "Where does the event happen?" %}
{{ ev.location|linebreaksbr }}
{% endif %}
{% if ev.settings.show_dates_on_frontpage %}
-
-
- {{ ev.get_date_range_display }}
+
+
{% trans "When does the event happen?" %}
+ {{ ev.get_date_range_display_as_html }}
{% if event.settings.show_times %}
- {% blocktrans trimmed with time=ev.date_from|date:"TIME_FORMAT" %}
+ {% with time_human=ev.date_from|date:"TIME_FORMAT" time_24=ev.date_from|time:"H:i" %}
+ {% blocktrans trimmed with time='"|safe %}
Begin: {{ time }}
{% endblocktrans %}
+ {% endwith %}
{% if event.settings.show_date_to and ev.date_to %}
- {% blocktrans trimmed with time=ev.date_to|date:"TIME_FORMAT" %}
+ {% with time_human=ev.date_to|date:"TIME_FORMAT" time_24=ev.date_to|time:"H:i" %}
+ {% blocktrans trimmed with time='"|safe %}
End: {{ time }}
{% endblocktrans %}
+ {% endwith %}
{% 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" %}
+
+ {% with time_human=ev.date_admission|date:"TIME_FORMAT" time_24=ev.date_admission|time:"H:i" %}
+ {% blocktrans trimmed with time='"|safe %}
Admission: {{ time }}
{% endblocktrans %}
+ {% endwith %}
{% else %}
- {% blocktrans trimmed with datetime=ev.date_admission|date:"SHORT_DATETIME_FORMAT" %}
+ {% with datetime_human=ev.date_admission|date:"SHORT_DATETIME_FORMAT" datetime_iso=ev.date_admission|time:"Y-m-d H:i" %}
+ {% blocktrans trimmed with datetime='"|safe %}
Admission: {{ datetime }}
{% endblocktrans %}
+ {% endwith %}
{% endif %}
{% endif %}
@@ -239,7 +269,7 @@
{% include "pretixpresale/event/fragment_product_list.html" %}
{% if ev.presale_is_running and display_add_to_cart %}
-
+
-
+
{% endif %}
{% endif %}
@@ -273,11 +303,14 @@
- {% trans "Voucher code" %}
-
+ {% trans "Voucher code" %}
+ {% if "voucher_invalid" in request.GET %}{% trans "has error" context "form" %},{% endif %}
+ {% trans "required" context "form" %}
+
-
+
diff --git a/src/pretix/presale/templates/pretixpresale/event/order.html b/src/pretix/presale/templates/pretixpresale/event/order.html
index 035f47c28..7bffabf7a 100644
--- a/src/pretix/presale/templates/pretixpresale/event/order.html
+++ b/src/pretix/presale/templates/pretixpresale/event/order.html
@@ -26,9 +26,9 @@
- {% trans "Thank you!" %}
+ {% trans "Thank you!" %}
{% if order.status != 'p' %}
-
+
{% trans "Your order has been placed successfully. See below for details." %}
{% if order.require_approval and order.total == 0 %}
@@ -45,9 +45,9 @@
{% endif %}
{% elif order.total == 0 %}
- {% trans "Your order has been processed successfully! See below for details." %}
+ {% trans "Your order has been processed successfully! See below for details." %}
{% else %}
- {% trans "We successfully received your payment. See below for details." %}
+ {% trans "We successfully received your payment. See below for details." %}
{% endif %}
{% if request.event.settings.checkout_success_text %}
{{ request.event.settings.checkout_success_text|rich_text }}
@@ -60,13 +60,10 @@
also sent you an email containing the link to the address you specified.
{% endblocktrans %}
{{ url }}
-
{% endif %}
-
- {% blocktrans trimmed with code=order.code %}
- Your order: {{ code }}
- {% endblocktrans %}
+
+ {% trans "Order" %} {{ order.code }}
{% if order.testmode %}
{% trans "TEST MODE" %}
{% endif %}
@@ -75,9 +72,11 @@
{% trans "View in backend" %}
{% endif %}
- {% include "pretixpresale/event/fragment_order_status.html" with order=order event=request.event class="pull-right flip" %}
-
+
+
{% if order.status == "n" and not order.require_approval %}
@@ -86,12 +85,18 @@
+
{% blocktrans trimmed with total=pending_sum|money:request.event.currency %}
A payment of {{ total }} is still pending for this order.
{% endblocktrans %}
- {% blocktrans trimmed with date=order|format_expires %}
- Please complete your payment before {{ date }}
- {% endblocktrans %}
+
+ {% with date_human=order|format_expires|safe date_iso=order.expires|date:"c" %}
+ {% blocktrans trimmed with date='"|safe %}
+ Please complete your payment before {{ date }}
+ {% endblocktrans %}
+ {% endwith %}
+
+
{% if last_payment %}
{{ last_payment_info }}
{% if can_pay %}
@@ -356,11 +361,13 @@
If you want to make changes to the products you bought, you can click on the button to change your order.
{% endblocktrans %}
+
{% endif %}
{% if user_cancel_allowed %}
@@ -424,11 +431,13 @@
{% trans "This will invalidate all tickets in this order." %}
{% endif %}
+
{% else %}
{% blocktrans trimmed %}
@@ -436,11 +445,13 @@
{% endblocktrans %}
{% trans "This will invalidate all tickets in this order." %}
+
{% endif %}
{% endif %}
diff --git a/src/pretix/presale/templates/pretixpresale/event/order_change.html b/src/pretix/presale/templates/pretixpresale/event/order_change.html
index 639e386d8..4a0c3ba58 100644
--- a/src/pretix/presale/templates/pretixpresale/event/order_change.html
+++ b/src/pretix/presale/templates/pretixpresale/event/order_change.html
@@ -30,7 +30,7 @@
- {{ pos.subevent.name }} · {{ pos.subevent.get_date_range_display }}
+ {{ pos.subevent.name }} · {{ pos.subevent.get_date_range_display_as_html }}
{% if pos.event.settings.show_times %}
{{ pos.subevent.date_from|date:"TIME_FORMAT" }}
diff --git a/src/pretix/presale/templates/pretixpresale/event/position.html b/src/pretix/presale/templates/pretixpresale/event/position.html
index 6e6c3508e..7e3c5a17c 100644
--- a/src/pretix/presale/templates/pretixpresale/event/position.html
+++ b/src/pretix/presale/templates/pretixpresale/event/position.html
@@ -6,7 +6,7 @@
{% load eventurl %}
{% block title %}{% trans "Registration details" %}{% endblock %}
{% block content %}
-
+
{% blocktrans trimmed %}
Your registration
{% endblocktrans %}
@@ -18,9 +18,11 @@
{% trans "View in backend" %}
{% endif %}
- {% include "pretixpresale/event/fragment_order_status.html" with order=order event=request.event class="pull-right flip" %}
-
+
+
{% eventsignal event "pretix.presale.signals.position_info_top" order=order position=position request=request %}
{% include "pretixpresale/event/fragment_downloads.html" with position_page=True %}
diff --git a/src/pretix/presale/templates/pretixpresale/event/voucher.html b/src/pretix/presale/templates/pretixpresale/event/voucher.html
index eaf89f608..44a1c50d4 100644
--- a/src/pretix/presale/templates/pretixpresale/event/voucher.html
+++ b/src/pretix/presale/templates/pretixpresale/event/voucher.html
@@ -26,29 +26,37 @@
- {{ ev.get_date_range_display }}
+ {{ ev.get_date_range_display_as_html }}
{% if event.settings.show_times %}
- {% blocktrans trimmed with time=ev.date_from|date:"TIME_FORMAT" %}
- Begin: {{ time }}
- {% endblocktrans %}
+ {% with time_human=ev.date_from|date:"TIME_FORMAT" time_24=ev.date_from|time:"H:i" %}
+ {% blocktrans trimmed with time='"|safe %}
+ Begin: {{ time }}
+ {% endblocktrans %}
+ {% endwith %}
{% if event.settings.show_date_to and ev.date_to %}
- {% blocktrans trimmed with time=ev.date_to|date:"TIME_FORMAT" %}
- End: {{ time }}
- {% endblocktrans %}
+ {% with time_human=ev.date_to|date:"TIME_FORMAT" time_24=ev.date_to|time:"H:i" %}
+ {% blocktrans trimmed with time='"|safe %}
+ End: {{ time }}
+ {% endblocktrans %}
+ {% endwith %}
{% 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 %}
+ {% with time_human=ev.date_admission|date:"TIME_FORMAT" time_24=ev.date_admission|time:"H:i" %}
+ {% blocktrans trimmed with time='"|safe %}
+ Admission: {{ time }}
+ {% endblocktrans %}
+ {% endwith %}
{% else %}
- {% blocktrans trimmed with datetime=ev.date_admission|date:"SHORT_DATETIME_FORMAT" %}
- Admission: {{ datetime }}
- {% endblocktrans %}
+ {% with datetime_human=ev.date_admission|date:"SHORT_DATETIME_FORMAT" datetime_iso=ev.date_admission|time:"Y-m-d H:i" %}
+ {% blocktrans trimmed with datetime='"|safe %}
+ Admission: {{ datetime }}
+ {% endblocktrans %}
+ {% endwith %}
{% endif %}
{% endif %}
@@ -215,7 +223,6 @@
{% else %}
{% else %}
{% trans "Add me to the waiting list" %}
-
+
{% csrf_token %}
+
+ {% trans "Product" %}
+
+
+
+
{% if subevent %}
- {% trans "Event" %}
+ {% trans "Event" %}
-
@@ -18,14 +25,16 @@
{% bootstrap_form form layout="checkout" %}
-
+
{% blocktrans trimmed with hours=event.settings.waiting_list_hours %}
If tickets become available again, we will inform the first persons on the waiting list. If we notify you, you'll have {{ hours }} hours time to buy a ticket until we assign it to the next person on the list.
{% endblocktrans %}
-
-
+
+
+
+
diff --git a/src/pretix/presale/templates/pretixpresale/fragment_calendar.html b/src/pretix/presale/templates/pretixpresale/fragment_calendar.html
index 909206484..5d8182f09 100644
--- a/src/pretix/presale/templates/pretixpresale/fragment_calendar.html
+++ b/src/pretix/presale/templates/pretixpresale/fragment_calendar.html
@@ -1,15 +1,16 @@
{% load i18n %}
+ {% trans "Calendar" %}
- {{ weeks.1.0.date|date:"D" }}
- {{ weeks.1.1.date|date:"D" }}
- {{ weeks.1.2.date|date:"D" }}
- {{ weeks.1.3.date|date:"D" }}
- {{ weeks.1.4.date|date:"D" }}
- {{ weeks.1.5.date|date:"D" }}
- {{ weeks.1.6.date|date:"D" }}
+ {{ weeks.1.0.date|date:"l" }}
+ {{ weeks.1.1.date|date:"l" }}
+ {{ weeks.1.2.date|date:"l" }}
+ {{ weeks.1.3.date|date:"l" }}
+ {{ weeks.1.4.date|date:"l" }}
+ {{ weeks.1.5.date|date:"l" }}
+ {{ weeks.1.6.date|date:"l" }}
@@ -19,10 +20,10 @@
{% if day %}
- {{ day.day }}
-
+
{% else %}
diff --git a/src/pretix/presale/templates/pretixpresale/fragment_modals.html b/src/pretix/presale/templates/pretixpresale/fragment_modals.html
index c3c98b2c0..294c05688 100644
--- a/src/pretix/presale/templates/pretixpresale/fragment_modals.html
+++ b/src/pretix/presale/templates/pretixpresale/fragment_modals.html
@@ -1,15 +1,17 @@
{% load i18n %}
-
+
-
-
- {% trans "If this takes longer than a few minutes, please contact us." %}
+
+
+
+ {% trans "If this takes longer than a few minutes, please contact us." %}
+
diff --git a/src/pretix/presale/templates/pretixpresale/fragment_week_calendar.html b/src/pretix/presale/templates/pretixpresale/fragment_week_calendar.html
index c61068eb4..6149f9e9f 100644
--- a/src/pretix/presale/templates/pretixpresale/fragment_week_calendar.html
+++ b/src/pretix/presale/templates/pretixpresale/fragment_week_calendar.html
@@ -4,11 +4,11 @@
- {{ day.day_formatted }}
+
-
+
{% for event in day.events %}
-
{% endif %}
- {{ event.time|date:"TIME_FORMAT" }}
+
{% if event.time_end %}
- – {{ event.time_end|date:"TIME_FORMAT" }}
+ {% trans "until" context "timerange" %}
{% endif %}
{% if not show_names|default_if_none:True %}
@@ -83,9 +83,9 @@
{% endif %}
{% endif %}
-
+
{% endfor %}
-
+
{% endfor %}
diff --git a/src/pretix/presale/templates/pretixpresale/organizers/base.html b/src/pretix/presale/templates/pretixpresale/organizers/base.html
index d58ae1ce8..905ff154e 100644
--- a/src/pretix/presale/templates/pretixpresale/organizers/base.html
+++ b/src/pretix/presale/templates/pretixpresale/organizers/base.html
@@ -22,8 +22,11 @@
{% if organizer.settings.locales|length > 1 %}
{% endif %}
@@ -56,8 +59,11 @@
{% if organizer.settings.locales|length > 1 %}
{% endif %}
@@ -79,10 +85,9 @@
{% endblock %}
{% block footernav %}
{% if not request.event and request.organizer.settings.contact_mail %}
- {% trans "Contact event organizer" %} ·
+
-
- - {{ item.name }} - -
+{{ item.name }}
{% if item.description %} -{% endif %} - + + {% endif %}
- {{ item.name }}
-
+ {{ item.name }}
{% if item.description %} -
+ {% trans "Orignal price:" %}
{% if event.settings.display_net_prices %}
-
+ {% if item.free_price %}
+ {{ item.original_price.net|money:event.currency }}
+ {{ item.original_price.net|money:event.currency }}
{% else %}
- {{ item.original_price.gross|money:event.currency }}
+ {{ item.original_price.gross|money:event.currency }}
{% endif %}
-
+
{% endif %} {% if item.free_price %}
{% elif not item.display_price.gross %} {% trans "FREE" context "price" %} - {% elif event.settings.display_net_prices %} + {% elif event.settings.display_net_prices %} {{ item.display_price.net|money:event.currency }} {% else %} {{ item.display_price.gross|money:event.currency }} @@ -280,12 +292,11 @@ incl. {{ rate }}% {{ name }} {% endblocktrans %} {% endif %} +
{% trans "Enter a voucher code below to buy this ticket." %}
{% trans "Please select a date to redeem your voucher." %}
{% if show_cart %} - + + {% else %} - + + {% endif %} +
{% else %}{% trans "Choose date to book a ticket" %}
{% endif %} @@ -99,7 +117,7 @@{{ event.name }} {% if request.event.settings.show_dates_on_frontpage %} - {{ event.get_date_range_display }} + {{ event.get_date_range_display_as_html }} {% endif %}
{% endif %} @@ -122,11 +140,15 @@ {% 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 %} - + {% 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 presale for this event will start on {{ date }} at {{ time }}. + {% endblocktrans %} + + {% endwith %} + {% endwith %} {% else %} {% blocktrans trimmed %} The presale for this event has not yet started. @@ -138,46 +160,54 @@{% trans "Location" %}: + +
{% trans "Where does the event happen?" %} {{ ev.location|linebreaksbr }}
- {{ ev.get_date_range_display }} + +
{% trans "When does the event happen?" %}
+ {{ ev.get_date_range_display_as_html }}
{% if event.settings.show_times %}
+
{% trans "Your order has been placed successfully. See below for details." %} {% trans "Your order has been processed successfully! See below for details." %} {% trans "Your order has been processed successfully! See below for details." %} {% trans "We successfully received your payment. See below for details." %} {% trans "We successfully received your payment. See below for details." %}
{% blocktrans trimmed with total=pending_sum|money:request.event.currency %}
A payment of {{ total }} is still pending for this order.
{% endblocktrans %}
- {% blocktrans trimmed with date=order|format_expires %}
- Please complete your payment before {{ date }}
- {% endblocktrans %}
+
+ {% with date_human=order|format_expires|safe date_iso=order.expires|date:"c" %}
+ {% blocktrans trimmed with date='"|safe %}
+ Please complete your payment before {{ date }}
+ {% endblocktrans %}
+ {% endwith %}
+
+
{% blocktrans trimmed %}
@@ -436,11 +445,13 @@
{% endblocktrans %}
{% trans "This will invalidate all tickets in this order." %}
- {{ ev.get_date_range_display }}
+ {{ ev.get_date_range_display_as_html }}
{% if event.settings.show_times %}
{% blocktrans trimmed with hours=event.settings.waiting_list_hours %}
If tickets become available again, we will inform the first persons on the waiting list. If we notify you, you'll have {{ hours }} hours time to buy a ticket until we assign it to the next person on the list.
{% endblocktrans %}
-
+
+ {% trans "If this takes longer than a few minutes, please contact us." %} {% trans "If this takes longer than a few minutes, please contact us." %}
- {% blocktrans trimmed with time=ev.date_from|date:"TIME_FORMAT" %}
+ {% with time_human=ev.date_from|date:"TIME_FORMAT" time_24=ev.date_from|time:"H:i" %}
+ {% blocktrans trimmed with time='"|safe %}
Begin: {{ time }}
{% endblocktrans %}
+ {% endwith %}
{% if event.settings.show_date_to and ev.date_to %}
- {% blocktrans trimmed with time=ev.date_to|date:"TIME_FORMAT" %}
+ {% with time_human=ev.date_to|date:"TIME_FORMAT" time_24=ev.date_to|time:"H:i" %}
+ {% blocktrans trimmed with time='"|safe %}
End: {{ time }}
{% endblocktrans %}
+ {% endwith %}
{% 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" %}
+
+ {% with time_human=ev.date_admission|date:"TIME_FORMAT" time_24=ev.date_admission|time:"H:i" %}
+ {% blocktrans trimmed with time='"|safe %}
Admission: {{ time }}
{% endblocktrans %}
+ {% endwith %}
{% else %}
- {% blocktrans trimmed with datetime=ev.date_admission|date:"SHORT_DATETIME_FORMAT" %}
+ {% with datetime_human=ev.date_admission|date:"SHORT_DATETIME_FORMAT" datetime_iso=ev.date_admission|time:"Y-m-d H:i" %}
+ {% blocktrans trimmed with datetime='"|safe %}
Admission: {{ datetime }}
{% endblocktrans %}
+ {% endwith %}
{% endif %}
{% endif %}
@@ -239,7 +269,7 @@
{% include "pretixpresale/event/fragment_product_list.html" %}
{% if ev.presale_is_running and display_add_to_cart %}
- {% trans "Thank you!" %}
+ {% trans "Thank you!" %}
{% if order.status != 'p' %}
-
{% if order.require_approval and order.total == 0 %}
@@ -45,9 +45,9 @@
{% endif %}
{{ url }}
-
- {% blocktrans trimmed with code=order.code %}
- Your order: {{ code }}
- {% endblocktrans %}
+
+
{% trans "Order" %} {{ order.code }}
{% if order.testmode %}
{% trans "TEST MODE" %}
{% endif %}
@@ -75,9 +72,11 @@
{% trans "View in backend" %}
{% endif %}
- {% include "pretixpresale/event/fragment_order_status.html" with order=order event=request.event class="pull-right flip" %}
-
+
+
{% if order.status == "n" and not order.require_approval %}
- {{ pos.subevent.name }} · {{ pos.subevent.get_date_range_display }}
+ {{ pos.subevent.name }} · {{ pos.subevent.get_date_range_display_as_html }}
{% if pos.event.settings.show_times %}
{{ pos.subevent.date_from|date:"TIME_FORMAT" }}
diff --git a/src/pretix/presale/templates/pretixpresale/event/position.html b/src/pretix/presale/templates/pretixpresale/event/position.html
index 6e6c3508e..7e3c5a17c 100644
--- a/src/pretix/presale/templates/pretixpresale/event/position.html
+++ b/src/pretix/presale/templates/pretixpresale/event/position.html
@@ -6,7 +6,7 @@
{% load eventurl %}
{% block title %}{% trans "Registration details" %}{% endblock %}
{% block content %}
-
+
{% blocktrans trimmed %}
Your registration
{% endblocktrans %}
@@ -18,9 +18,11 @@
{% trans "View in backend" %}
{% endif %}
- {% include "pretixpresale/event/fragment_order_status.html" with order=order event=request.event class="pull-right flip" %}
-
+
+
{% eventsignal event "pretix.presale.signals.position_info_top" order=order position=position request=request %}
{% include "pretixpresale/event/fragment_downloads.html" with position_page=True %}
- {% blocktrans trimmed with time=ev.date_from|date:"TIME_FORMAT" %}
- Begin: {{ time }}
- {% endblocktrans %}
+ {% with time_human=ev.date_from|date:"TIME_FORMAT" time_24=ev.date_from|time:"H:i" %}
+ {% blocktrans trimmed with time='"|safe %}
+ Begin: {{ time }}
+ {% endblocktrans %}
+ {% endwith %}
{% if event.settings.show_date_to and ev.date_to %}
- {% blocktrans trimmed with time=ev.date_to|date:"TIME_FORMAT" %}
- End: {{ time }}
- {% endblocktrans %}
+ {% with time_human=ev.date_to|date:"TIME_FORMAT" time_24=ev.date_to|time:"H:i" %}
+ {% blocktrans trimmed with time='"|safe %}
+ End: {{ time }}
+ {% endblocktrans %}
+ {% endwith %}
{% 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 %}
+ {% with time_human=ev.date_admission|date:"TIME_FORMAT" time_24=ev.date_admission|time:"H:i" %}
+ {% blocktrans trimmed with time='"|safe %}
+ Admission: {{ time }}
+ {% endblocktrans %}
+ {% endwith %}
{% else %}
- {% blocktrans trimmed with datetime=ev.date_admission|date:"SHORT_DATETIME_FORMAT" %}
- Admission: {{ datetime }}
- {% endblocktrans %}
+ {% with datetime_human=ev.date_admission|date:"SHORT_DATETIME_FORMAT" datetime_iso=ev.date_admission|time:"Y-m-d H:i" %}
+ {% blocktrans trimmed with datetime='"|safe %}
+ Admission: {{ datetime }}
+ {% endblocktrans %}
+ {% endwith %}
{% endif %}
{% endif %}
@@ -215,7 +223,6 @@
{% else %}
{% else %}
{% trans "Add me to the waiting list" %}
-
+
-
@@ -19,10 +20,10 @@
{% if day %}
{{ weeks.1.0.date|date:"D" }}
- {{ weeks.1.1.date|date:"D" }}
- {{ weeks.1.2.date|date:"D" }}
- {{ weeks.1.3.date|date:"D" }}
- {{ weeks.1.4.date|date:"D" }}
- {{ weeks.1.5.date|date:"D" }}
- {{ weeks.1.6.date|date:"D" }}
+ {{ weeks.1.0.date|date:"l" }}
+ {{ weeks.1.1.date|date:"l" }}
+ {{ weeks.1.2.date|date:"l" }}
+ {{ weeks.1.3.date|date:"l" }}
+ {{ weeks.1.4.date|date:"l" }}
+ {{ weeks.1.5.date|date:"l" }}
+ {{ weeks.1.6.date|date:"l" }}
-
{% else %}
{{ day.day }}
-
+
diff --git a/src/pretix/presale/templates/pretixpresale/fragment_modals.html b/src/pretix/presale/templates/pretixpresale/fragment_modals.html
index c3c98b2c0..294c05688 100644
--- a/src/pretix/presale/templates/pretixpresale/fragment_modals.html
+++ b/src/pretix/presale/templates/pretixpresale/fragment_modals.html
@@ -1,15 +1,17 @@
{% load i18n %}
-
- {{ day.day_formatted }}
+
{% for event in day.events %}
-
{% endif %}
- {{ event.time|date:"TIME_FORMAT" }}
+
{% if event.time_end %}
- – {{ event.time_end|date:"TIME_FORMAT" }}
+ {% trans "until" context "timerange" %}
{% endif %}
{% if not show_names|default_if_none:True %}
@@ -83,9 +83,9 @@
{% endif %}
{% endif %}
-
+
{% endfor %}
-