{% extends "base.html" %} {% load debate_tags i18n %} {% block content %}
{% for check_key, check_info in check_in_info.items %}
{{ check_info.title }}
{% trans "With identifiers" %} {{ check_info.in }}/{{ check_info.total }}
{% include "components/progress-bar.html" with value=check_info.in total=check_info.total type="success" %}
{% if check_info.in > 0 %} {% if user_role == "admin" %} {% tournamenturl "admin-checkin-print" kind=check_key as url %} {% else %} {% tournamenturl "assistant-checkin-print" kind=check_key as url %} {% endif %} {% trans "View as barcodes" as text %} {% include "components/item-action.html" with type="primary" blank=True %} {% endif %} {% if check_info.in != check_info.total and user_role == "admin" %} {% if check_info.in > 0 %} {% trans "Generate missing identifiers" as text %} {% else %} {% trans "Generate all identifiers" as text %} {% endif %}
{% csrf_token %}
{% endif %} {% if user_role == "assistant" and check_info.in == 0 %} {% trans "There are no identifiers available to view. An admin will need to generate them." as text %} {% include "components/item-info.html" with type="info" %} {% endif %}
{% endfor %}
{% endblock content %}