{% extends "chrono/manager_agenda_month_view.html" %} {% load i18n %} {% block actions %} {{ block.super }} {% trans 'Day view' %} {% endblock %} {% block content %} {% for week_days in view.get_timetable_infos %} {% if forloop.first %} {% endif %} {% for day in week_days.days %} {% endfor %} {% for hour in week_days.periods %} {% for day in week_days.days %} {% endfor %} {% endfor %} {% resetcycle %} {% if forloop.last %}
{% if not day.other_month %}{{ day.date|date:"l j" }}{% endif %}
{{ hour|date:"TIME_FORMAT" }} {% if forloop.parentloop.first %} {% for slot in day.infos.opening_hours %}
{% endfor %} {% for slot in day.infos.exceptions %}
{% endfor %} {% for slot in day.infos.booked_slots %}
{{slot.booking.event.start_datetime|date:"TIME_FORMAT"}} {{ slot.booking.meetings_display }} {% trans "Cancel" %} {% if not single_desk %}{{ slot.desk }}{% endif %} {% if slot.booking.color %}{{ slot.booking.color }}{% endif %}
{% endfor %} {% endif %}
{% endif %} {% empty %}

{% trans "No opening hours this month." %}

{% endfor %} {% if booking_colors %} {% include "chrono/booking_color_legend.html" with colors=booking_colors %} {% endif %} {% endblock %}