{% extends "pretixcontrol/base.html" %} {% load i18n %} {% load urlreplace %} {% 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 %}

{% trans "Filter" %}

{% bootstrap_field filter_form.query %}
{% bootstrap_field filter_form.status %}
{% bootstrap_field filter_form.date_from %}
{% bootstrap_field filter_form.date_until %}
{% bootstrap_field filter_form.organizer %}
{% for mf in meta_fields %}
{% bootstrap_field mf %}
{% endfor %}

{% trans "Create a new event" %}

{% if not hide_orga %} {% endif %} {% for e in events %} {% if not hide_orga %}{% endif %} {% endfor %}
{% trans "Event name" %} {% trans "Organizer" %} {% trans "Start date" %} / {% trans "End date" %} {% trans "Paid tickets per quota" %} {% trans "Status" %}
{{ e.name }}
{{ e.slug }} {% for k, v in e.meta_data.items %} {% if v %} · {{ k }}: {{ v }} {% endif %} {% endfor %}
{{ e.organizer }} {% if e.has_subevents %} {% trans "Event series" %}
{% if e.min_from %} {{ e.min_from|date:"SHORT_DATETIME_FORMAT" }} –
{{ e.max_fromto|default_if_none:e.max_to|default_if_none:e.max_from|date:"SHORT_DATETIME_FORMAT" }} {% else %} {% trans "No dates" context "subevent" %} {% endif %}
{% else %} {{ e.get_short_date_from_display }} {% if e.settings.show_date_to and e.date_to %} –
{{ e.get_short_date_to_display }} {% endif %} {% endif %} {% if e.settings.timezone != request.timezone %} {% endif %}
{% for q in e.first_quotas|slice:":3" %} {% include "pretixcontrol/fragment_quota_box_paid.html" with quota=q %} {% endfor %} {% if e.first_quotas|length > 3 %} ··· {% endif %} {% 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 %}