diff --git a/src/pretix/presale/templates/pretixpresale/organizers/index.html b/src/pretix/presale/templates/pretixpresale/organizers/index.html index da1255a5d..47317a85e 100644 --- a/src/pretix/presale/templates/pretixpresale/organizers/index.html +++ b/src/pretix/presale/templates/pretixpresale/organizers/index.html @@ -8,18 +8,18 @@ {% block title %}{% trans "Event list" %}{% endblock %} {% block custom_header %} {{ block.super }} - + {% if organizer_logo %} - + {% endif %} - - + + {% endblock %} {% block content %}
| {% trans "Name" %} | -{% trans "Date" %} | -{% trans "Status" %} | -- | |
|---|---|---|---|---|
| - {{ e.name }} - | +
- {{ e.daterange|default:e.get_date_range_display }}
- {% if e.settings.show_times and not e.has_subevents %}
- {% timezone e.tzname %}
- - {{ e.date_from|date:"TIME_FORMAT" }} - {% if e.settings.show_date_to and e.date_to and e.date_to.date == e.date_from.date %} - – {{ e.date_to|date:"TIME_FORMAT" }} - {% endif %} - - {% endtimezone %} - {% endif %} - |
+ {{ e.daterange|default:e.get_date_range_display }}
+ {% if e.settings.show_times and not e.has_subevents %}
+ {% timezone e.tzname %}
+ + {% endif %} |
- {% if e.has_subevents %}
- {% trans "Event series" %}
- {% elif e.presale_is_running and request.organizer.settings.event_list_availability %}
- {% if e.best_availability_state == 100 %}
- {% trans "Book now" %}
- {% elif e.settings.waiting_list_enabled and e.best_availability_state >= 0 %}
- {% trans "Waiting list" %}
- {% elif e.best_availability_state == 20 %}
- {% trans "Reserved" %}
- {% elif e.best_availability_state < 20 %}
- {% trans "Sold out" %}
- {% endif %}
- {% elif e.presale_is_running %}
+
+
+ {% if e.has_subevents %}
+ {% trans "Event series" %}
+ {% elif e.presale_is_running and request.organizer.settings.event_list_availability %}
+ {% if e.best_availability_state == 100 %}
{% trans "Book now" %}
- {% elif e.presale_has_ended %}
- {% trans "Sale over" %}
- {% elif e.settings.presale_start_show_date %}
-
+ {% elif e.settings.waiting_list_enabled and e.best_availability_state >= 0 %}
+ {% trans "Waiting list" %}
+ {% elif e.best_availability_state == 20 %}
+ {% trans "Reserved" %}
+ {% elif e.best_availability_state < 20 %}
+ {% trans "Sold out" %}
+ {% endif %}
+ {% elif e.presale_is_running %}
+ {% trans "Book now" %}
+ {% elif e.presale_has_ended %}
+ {% trans "Sale over" %}
+ {% elif e.settings.presale_start_show_date %}
+
{% blocktrans trimmed with date=e.presale_start|date:"SHORT_DATE_FORMAT" %}
Sale starts {{ date }}
{% endblocktrans %}
+ {% else %}
+ {% trans "Not yet on sale" %}
+ {% endif %}
+
+ |
- - - {% if e.has_subevents %} {% trans "Tickets" %} - {% elif e.presale_is_running and e.best_availability_state == 100 %} - {% trans "Tickets" %} - {% else %} - {% trans "More info" %} - {% endif %} - - | -
| - {% trans "No archived events found." %} - | -||||
| - {% trans "No public upcoming events found." %} - | -||||