{% extends "pretixcontrol/event/base.html" %} {% load i18n %} {% block title %}{% trans "Live capacity" %}{% endblock %} {% block content %}

{% trans "Live capacity" %}

{% blocktrans %}Real-time headcount currently inside, per check-in list (zone), from entry and exit scans. Re-entry aware. Numbers refresh automatically every 10 seconds.{% endblocktrans %}

{# ---- Event-level summary ---------------------------------------------- #}
{{ snapshot.total_inside }}
{% trans "Inside now" %}
{{ snapshot.total_entries }}
{% trans "Entries" %}
{{ snapshot.scans_today }}
{% trans "Scans today" %}
{% if snapshot.target %}
{% blocktrans with target=snapshot.target %}Against a target capacity of {{ target }}{% endblocktrans %} โ€” {{ snapshot.pct_full }}% {% trans "full" %}
{% endif %}
{# ---- Per-list (zone) cards -------------------------------------------- #} {% if snapshot.lists %}
{% for row in snapshot.lists %}
{{ row.list_name }}
{{ row.inside }}
{% trans "inside" %}
{{ row.entries }} {% trans "in" %} ยท {{ row.exits }} {% trans "out" %}
{% if row.capacity %}
{{ row.pct }}%
{% endif %}
{% endfor %}
{% else %}
{% blocktrans %}No check-in lists exist for this event yet. Create a check-in list and start scanning tickets โ€” occupancy will appear here live.{% endblocktrans %}
{% endif %} {% endblock %}