{% extends "pretixcontrol/event/base.html" %} {% load i18n %} {% load bootstrap3 %} {% load urlreplace %} {% block title %}{% trans "Dates" context "subevent" %}{% endblock %} {% block content %}

{% trans "Dates" context "subevent" %}

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

{% blocktrans trimmed %} You haven't created any dates for this event series yet. {% endblocktrans %}

{% trans "Create a new date" context "subevent" %} {% trans "Create many new dates" context "subevent" %}
{% else %}
{% bootstrap_field filter_form.query layout='inline' %}
{% bootstrap_field filter_form.status layout='inline' %}
{% bootstrap_field filter_form.date layout='inline' %}
{% bootstrap_field filter_form.weekday layout='inline' %}

{% trans "Create a new date" context "subevent" %} {% trans "Create many new dates" context "subevent" %}

{% csrf_token %}
{% for s in subevents %} {% endfor %}
{% if "can_change_event_settings" in request.eventpermset %} {% endif %} {% trans "Name" %} {% trans "Begin" %} {% trans "Paid tickets per quota" %} {% trans "Status" %}
{% if "can_change_event_settings" in request.eventpermset %} {% endif %} {{ s.name }} {{ s.get_date_from_display }} {% for q in s.first_quotas|slice:":3" %} {% include "pretixcontrol/fragment_quota_box_paid.html" with quota=q %} {% endfor %} {% if s.first_quotas|length > 3 %} ··· {% endif %} {% if not s.active %} {% trans "Disabled" %} {% elif s.presale_has_ended %} {% trans "Presale over" %} {% elif not s.presale_is_running %} {% trans "Presale not started" %} {% else %} {% trans "On sale" %} {% endif %}
{% if "can_change_event_settings" in request.eventpermset %} {% endif %}
{% include "pretixcontrol/pagination.html" %} {% endif %} {% endblock %}