{% extends "pretixpresale/organizers/base.html" %} {% load i18n %} {% load rich_text %} {% load eventurl %} {% load urlreplace %} {% load thumb %} {% block title %}{% trans "Event list" %}{% endblock %} {% block custom_header %} {{ block.super }} {% if organizer_logo %} {% endif %} {% endblock %} {% block content %}
{% if organizer_homepage_text %} {{ organizer_homepage_text | rich_text }} {% endif %}
{% if "old" in request.GET %}

{% trans "Past events" %}

{% else %}

{% trans "Upcoming events" %}

{% endif %}
{% trans "List" %} {% trans "Calendar" %}
{% trans "iCal" %} {% if "old" in request.GET %} {% trans "Show upcoming" %} {% else %} {% trans "Show past events" %} {% endif %}
{% for e in events %}{% eventurl e "presale:event.index" as url %} {% empty %} {% if "old" in request.GET %} {% else %} {% endif %} {% endfor %}
{% trans "Name" %} {% trans "Date" %} {% trans "Status" %}
{{ e.name }} {{ e.daterange|default:e.get_date_range_display }} {% if e.settings.show_times %}
{{ 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 %} {% 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 %} {% 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 "Buy tickets" %} {% elif e.presale_is_running and e.best_availability_state == 100 %}{% trans "Buy tickets" %} {% else %}{% trans "More info" %} {% endif %}
{% trans "No archived events found." %}
{% trans "No public upcoming events found." %}
{% include "pretixpresale/pagination.html" %} {% endblock %}