{% extends "pretixcontrol/items/base.html" %} {% load i18n %} {% load bootstrap3 %} {% load escapejson %} {% load eventsignal %} {% block title %}{% blocktrans with name=quota.name %}Quota: {{ name }}{% endblocktrans %}{% endblock %} {% block inside %}

{% blocktrans with name=quota.name %}Quota: {{ name }}{% endblocktrans %} {% if 'can_change_items' in request.eventpermset %} {% trans "Edit quota" %} {% endif %}

{% if quota.subevent %}

{{ quota.subevent.name }} – {{ quota.subevent.get_date_range_display }}

{% endif %}
{% csrf_token %} {% if quota.closed %} {% if closed_and_sold_out %}
{% trans "This quota is sold out and closed. Even if tickets become available e.g. through cancellations, they will not become available again unless you manually re-open the quota on this page." %}
{% else %}
{% trans "This quota is closed since it has been sold out before. Tickets are theoretically available, but will not be sold unless you manually re-open the quota." %}
{% endif %} {% endif %}
{% trans "Usage overview" %}
{% trans "Availability calculation" %}
{% trans "Total quota" %}
{% if quota.size == None %}{% trans "Infinite" %}{% else %}{{ quota.size }}{% endif %}
{% for row in quota_table_rows %}
{% if row.strong %}{% endif %} {{ row.label }} {% if row.strong %}{% endif %}
{% if row.strong %} {{ row.value }} {% else %} {% if row.value >= 0 %}– {{ row.value }}{% else %}+ {{ row.value_abs }}{% endif %} {% endif %}
{% endfor %} {% if has_plugins > 0 %}
{% blocktrans trimmed with num=quota_overbooked %} A plugin is active that might modify the actual result of this quota from what you see here. {% endblocktrans %}
{% endif %} {% if quota_overbooked > 0 %}
{% blocktrans trimmed with num=quota_overbooked %} This quota is currently overbooked by {{ num }} tickets. {% endblocktrans %}
{% endif %} {% if has_ignore_vouchers %}
{% blocktrans trimmed %} Your event contains vouchers that affect products covered by this quota and that allow a user to buy products even if this quota is sold out. {% endblocktrans %}
{% endif %}

{% trans "Quota history" %}

{% include "pretixcontrol/includes/logs.html" with obj=quota %}
{% eventsignal request.event "pretix.control.signals.quota_detail_html" quota=quota %} {% endblock %}