diff --git a/src/pretix/presale/templates/pretixpresale/organizers/index.html b/src/pretix/presale/templates/pretixpresale/organizers/index.html index 33f9381ff2..6683920ee4 100644 --- a/src/pretix/presale/templates/pretixpresale/organizers/index.html +++ b/src/pretix/presale/templates/pretixpresale/organizers/index.html @@ -30,81 +30,80 @@ - {% if events %} -
-
-

- - {% if "old" in request.GET %} - {% trans "Past events" %} - {% else %} - {% trans "Upcoming events" %} - {% endif %} - -

-
- {% if filter_form.fields %} -
- {% include "pretixpresale/fragment_event_list_filter.html" with request=request %} -
- {% endif %} -
-
- {% for e in events %}{% eventurl e "presale:event.index" as url %} -
-
{{ e.name }}
-
- {% if e.settings.show_dates_on_frontpage %} - {% if e.has_subevents %} - {% icon "calendar" %} {% trans "Multiple dates" context "subevent" %} -
- - {{ e.daterange|default:e.get_date_range_display_as_html }} - - {% else %} - {{ e.daterange|default:e.get_date_range_display_as_html }} - {% if e.settings.show_times %} - {% timezone e.tzname %} -
- - {% icon "clock-o" %} - {{ 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 %} - {% endif %} - {% else %} -   - {% endif %} -
-
- - {% include "pretixpresale/fragment_event_list_status.html" with event=e %} - -
-
- - {% if e.has_subevents %}{% icon "ticket" %} {% trans "Tickets" %} - {% elif e.presale_is_running and e.best_availability_state == 100 %} - {% icon "ticket" %} {% trans "Tickets" %} - {% else %} - {% icon "info" %} {% trans "More info" %} - {% endif %} - -
-
- {% endfor %} -
-
+
+
+

+ + {% if "old" in request.GET %} + {% trans "Past events" %} + {% else %} + {% trans "Upcoming events" %} + {% endif %} + +

+
+ {% if filter_form.fields %} +
+ {% include "pretixpresale/fragment_event_list_filter.html" with request=request %}
{% endif %} - {% if "old" in request.GET %} -

{% if not events %}{% trans "No archived events found." %} {% endif %}{% trans "Show upcoming" %}

- {% else %} -

{% if not events %}{% trans "No public upcoming events found." %} {% endif %}{% trans "Show past events" %}

- {% endif %} +
+
+ {% for e in events %}{% eventurl e "presale:event.index" as url %} +
+
{{ e.name }}
+
+ {% if e.settings.show_dates_on_frontpage %} + {% if e.has_subevents %} + {% icon "calendar" %} {% trans "Multiple dates" context "subevent" %} +
+ + {{ e.daterange|default:e.get_date_range_display_as_html }} + + {% else %} + {{ e.daterange|default:e.get_date_range_display_as_html }} + {% if e.settings.show_times %} + {% timezone e.tzname %} +
+ + {% icon "clock-o" %} + {{ 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 %} + {% endif %} + {% else %} +   + {% endif %} +
+
+ + {% include "pretixpresale/fragment_event_list_status.html" with event=e %} + +
+
+ + {% if e.has_subevents %}{% icon "ticket" %} {% trans "Tickets" %} + {% elif e.presale_is_running and e.best_availability_state == 100 %} + {% icon "ticket" %} {% trans "Tickets" %} + {% else %} + {% icon "info" %} {% trans "More info" %} + {% endif %} + +
+
+ {% empty %} + {% if "old" in request.GET %} +

{% if not events %}{% trans "No archived events found." %} {% endif %}{% trans "Show upcoming" %}

+ {% else %} +

{% if not events %}{% trans "No public upcoming events found." %} {% endif %}{% trans "Show past events" %}

+ {% endif %} + {% endfor %} +
+
+
{% include "pretixpresale/pagination.html" %} {% endblock %}