{% extends "pretixpresale/organizers/base.html" %} {% load i18n %} {% load eventurl %} {% block title %}{% trans "Event list" %}{% endblock %} {% block content %} {% if "old" in request.GET %}

Past events

{% trans "Show upcoming" %}

{% else %}

{% trans "Upcoming events" %}

{% 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" %}
{{ e.name }} {{ e.date_from|date:"DATE_FORMAT" }} {% if e.settings.show_date_to %} – {{ e.date_to|date:"DATE_FORMAT" }}{% endif %} {% if e.presale_is_running %}{% trans "Buy tickets" %} {% else %}{% trans "More info" %} {% endif %}
{% trans "No archived events found." %}
{% trans "No public upcoming events found." %}
{% include "pretixpresale/pagination.html" %} {% endblock %}