38 lines
1.3 KiB
HTML
38 lines
1.3 KiB
HTML
{% extends "chrono/manager_agenda_week_view.html" %}
|
|
{% load i18n %}
|
|
|
|
{% block agenda-extra-menu-actions %}
|
|
<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 %}
|
|
{% endblock %}
|
|
|
|
{% block content %}
|
|
<div class="section">
|
|
<h3>{% blocktrans with weeknum=view.first_day|date:"W" %}Events - Week {{ weeknum }}{% endblocktrans %}</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 %}
|