42 lines
1.4 KiB
HTML
42 lines
1.4 KiB
HTML
{% extends "chrono/manager_agenda_week_view.html" %}
|
|
{% load i18n %}
|
|
|
|
{% block actions %}
|
|
<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>
|
|
{% if agenda.subscriptions.exists %}
|
|
<li><a href="{% url 'chrono-manager-events-timesheet' pk=agenda.pk %}">{% trans 'Timesheet' %}</a></li>
|
|
{% endif %}
|
|
</ul>
|
|
{{ block.super }}
|
|
{% endblock %}
|
|
|
|
{% block content %}
|
|
<div class="section">
|
|
<h3>{% trans "Events" %}</h3>
|
|
{% include 'chrono/manager_event_cancellation_report_notice.html' %}
|
|
<div>
|
|
{% if object_list %}
|
|
<ul class="objects-list single-links events-list">
|
|
{% 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 %}
|
|
{% endfor %}
|
|
</ul>
|
|
{% include "gadjo/pagination.html" %}
|
|
{% else %}
|
|
<div class="big-msg-info">
|
|
{% blocktrans trimmed %}
|
|
This week doesn't have any event configured.
|
|
{% endblocktrans %}
|
|
</div>
|
|
{% endif %}
|
|
</div>
|
|
</div>
|
|
|
|
{% endblock %}
|