2019-12-22 14:27:13 +01:00
|
|
|
{% extends "chrono/manager_agenda_month_view.html" %}
|
|
|
|
{% load i18n %}
|
|
|
|
|
2020-08-11 10:26:24 +02:00
|
|
|
{% block actions %}
|
2020-07-09 12:46:13 +02:00
|
|
|
<a class="extra-actions-menu-opener"></a>
|
|
|
|
<ul class="extra-actions-menu">
|
|
|
|
<li><a href="{% url 'chrono-manager-event-cancellation-report-list' pk=agenda.pk %}">{% trans 'Cancellation error reports' %}</a></li>
|
2022-08-29 09:59:50 +02:00
|
|
|
{% if agenda.subscriptions.exists %}
|
2022-02-15 17:16:31 +01:00
|
|
|
<li><a href="{% url 'chrono-manager-events-timesheet' pk=agenda.pk %}">{% trans 'Timesheet' %}</a></li>
|
2022-08-29 09:59:50 +02:00
|
|
|
{% endif %}
|
2020-07-09 12:46:13 +02:00
|
|
|
</ul>
|
2022-02-15 17:16:31 +01:00
|
|
|
{{ block.super }}
|
2020-07-09 10:17:40 +02:00
|
|
|
{% endblock %}
|
|
|
|
|
2019-12-22 14:27:13 +01:00
|
|
|
{% block content %}
|
|
|
|
<div class="section">
|
|
|
|
<h3>{% trans "Events" %}</h3>
|
2020-07-09 12:46:13 +02:00
|
|
|
{% include 'chrono/manager_event_cancellation_report_notice.html' %}
|
2019-12-22 14:27:13 +01:00
|
|
|
<div>
|
|
|
|
{% if object_list %}
|
2023-02-16 11:02:40 +01:00
|
|
|
<ul class="objects-list single-links events-list">
|
2021-03-15 14:35:29 +01:00
|
|
|
{% for object in object_list %}
|
|
|
|
{% if object.is_exception %}
|
|
|
|
<li><a class="disabled">{% trans "Exception:"%} {{ object }}</a></li>
|
|
|
|
{% else %}
|
|
|
|
{% include 'chrono/manager_agenda_event_fragment.html' with event=object %}
|
|
|
|
{% endif %}
|
2020-07-09 10:13:17 +02:00
|
|
|
{% endfor %}
|
2019-12-22 14:27:13 +01:00
|
|
|
</ul>
|
|
|
|
{% include "gadjo/pagination.html" %}
|
|
|
|
{% else %}
|
|
|
|
<div class="big-msg-info">
|
2022-09-27 17:46:21 +02:00
|
|
|
{% blocktrans trimmed %}
|
2019-12-22 14:27:13 +01:00
|
|
|
This month doesn't have any event configured.
|
|
|
|
{% endblocktrans %}
|
|
|
|
</div>
|
|
|
|
{% endif %}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
{% endblock %}
|