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

{% blocktrans with name=quota.name %}Quota: {{ name }}{% endblocktrans %} {% if request.eventperm.can_change_items %} {% trans "Edit quota" %} {% 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 %}
{{ row.label }}
– {{ row.value }}
{% endfor %}
{% trans "Current availability" %}
{% if quota.size == None %}{% trans "Infinite" %}{% else %}{{ avail.1 }}{% 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 %}