29 lines
964 B
HTML
29 lines
964 B
HTML
{% extends "chrono/manager_agenda_view.html" %}
|
|
{% load i18n %}
|
|
|
|
{% block page-title-extra-label %}
|
|
{{ block.super }} - {% trans "Cancellation error reports" %}
|
|
{% endblock %}
|
|
|
|
{% block breadcrumb %}
|
|
{{ block.super }}
|
|
<a href="{% url 'chrono-manager-event-cancellation-report-list' pk=agenda.pk %}">{% trans "Cancellation error reports" %}</a>
|
|
{% endblock %}
|
|
|
|
{% block appbar %}
|
|
<h2>{% trans "Cancellation error reports" %}</h2>
|
|
{% endblock %}
|
|
|
|
{% block content %}
|
|
<ul>
|
|
{% for report in cancellation_reports %}
|
|
<li {% if not report.seen %}class="new-report"{% endif %}>
|
|
<a href="{% url 'chrono-manager-event-cancellation-report' pk=agenda.pk report_pk=report.pk %}">{{ report }}</a>
|
|
({% blocktrans count count=report.bookings.count %}{{ count }} failure{% plural %}{{ count }} failures{% endblocktrans %})
|
|
</li>
|
|
{% empty %}
|
|
<li>{% trans "No error report to show." %}</li>
|
|
{% endfor %}
|
|
</ul>
|
|
{% endblock %}
|