{% extends "chrono/manager_event_detail.html" %}
{% load staticfiles i18n %}
{% block breadcrumb %}
{{ block.super }}
{% trans "Check" %}
{% endblock %}
{% block appbar_actions %}{% endblock %}
{% block content %}
{% blocktrans with booked_places=object.booked_places places=object.places %}Bookings ({{ booked_places }}/{{ places }}){% endblocktrans %}
{% if results and not event.checked %}
|
{% endif %}
{% if booked_without_status %}
{% if not event.checked or not agenda.disable_check_update %}
{% trans "Mark all bookings without status:" %} |
|
{% endif %}
{% endif %}
{% for result in results %}
{% if result.kind == 'booking' %}
{% with result as booking %}{% include "chrono/manager_event_check_booking_fragment.html" %}{% endwith %}
{% elif result.kind == 'subscription' %}
{{ result.get_user_block }} |
({% trans "Not booked" %}) |
{% if not event.checked or not agenda.disable_check_update %}
|
{% endif %}
{% endif %}
{% endfor %}
{% if object.waiting_list_places %}
{% blocktrans with booked_places=object.booked_waiting_list_places places=object.waiting_list_places %}Waiting List ({{ booked_places }}/{{ places }}){% endblocktrans %}
{% for booking in waiting %}
{{ booking.get_user_block }}{% if booking.places_count > 1 %} ({{ booking.places_count }} {% trans "places" %}){% endif %} |
{% endfor %}
{% endif %}
{% endblock %}