{% extends "chrono/manager_home.html" %} {% load i18n %} {% block appbar %}

{% trans "Confirm booking" %}

{% endblock %} {% block content %}
{% if overbooked %}

{% trans "Confirming this booking will make the event overbooked." %}

{% endif %} {% if not confirmation_allowed %}

{% trans "This booking has no callback url configured, confirmation should be handled from corresponding form in order to guarantee a coherent situation." %}

{% trans "Open form" %}

{% endif %} {% if confirmation_allowed or user.is_staff %} {% if confirmation_allowed %}

{% blocktrans trimmed with booking=booking.events_display %} Are you sure you want to confirm booking "{{ booking }}"? {% endblocktrans %}

{% else %}

{% trans "However, since you are an administrator, you can choose to confirm it anyway." %}

{% endif %} {% csrf_token %} {{ form.as_p }}
{% trans 'Abort' %}
{% endif %}
{% endblock %}