chrono/chrono/manager/templates/chrono/manager_event_cancellation_...

28 lines
956 B
HTML

{% extends "chrono/manager_agenda_view.html" %}
{% load i18n %}
{% block page-title-extra-label %}
{{ block.super }} - {% trans "Cancellation error report" %}
{% endblock %}
{% block breadcrumb %}
{{ block.super }}
<a href="{% url 'chrono-manager-event-cancellation-report-list' pk=agenda.id %}">{% trans "Cancellation error reports" %}</a>
{% endblock %}
{% block appbar %}
<h2>{% trans "Cancellation error report:" %} {{ report }}</h2>
{% block actions %}
<a rel="popup" href="{% url 'chrono-manager-event-cancel' pk=agenda.pk event_pk=report.event.pk %}?force_cancellation=True">{% trans "Force cancellation" %}</a>
{% endblock %}
{% endblock %}
{% block content %}
<p>{% trans "Cancellation failed for the following bookings:" %}</p>
<ul>
{% for booking, error in errors.items %}
<li><a href="{{ booking.get_backoffice_url }}">{{ booking.events_display }}</a>: {{ error }}</li>
{% endfor %}
</ul>
{% endblock %}