{% extends "pretixcontrol/base.html" %} {% load i18n %} {% load bootstrap3 %} {% block title %}{% trans "Events" %}{% endblock %} {% block content %}

{% trans "Events" %}

{% trans "The list below shows all events you have administrative access to. Click on the event name to access event details." %}

{% if events|length == 0 and not filter_form.filtered %}

{% blocktrans trimmed %} You currently do not have access to any events. {% endblocktrans %}

{% trans "Create a new event" %}
{% else %}
{% bootstrap_field filter_form.query layout='inline' %}
{% bootstrap_field filter_form.status layout='inline' %}
{% bootstrap_field filter_form.organizer layout='inline' %}

{% trans "Create a new event" %}

{% for e in events %} {% endfor %}
{% trans "Event name" %} {% trans "Organizer" %} {% trans "Start date" %} {% trans "End date" %} {% trans "Status" %}
{{ e.name }} {{ e.organizer }} {{ e.get_date_from_display }} {{ e.get_date_to_display }} {% if not e.live %} {% trans "Shop disabled" %} {% elif e.presale_has_ended %} {% trans "Presale over" %} {% elif not e.presale_is_running %} {% trans "Presale not started" %} {% else %} {% trans "On sale" %} {% endif %}
{% include "pretixcontrol/pagination.html" %} {% endif %} {% endblock %}