{% extends "chrono/manager_agenda_day_view.html" %} {% load i18n %} {% block content %} {% for period, desk_infos in view.get_timetable_infos %} {% if forloop.first %}
{% for desk_info in desk_infos %} | {{ desk_info.desk.label }}{% if agenda.kind == 'virtual' %} ({{ desk_info.desk.agenda.label }}){% endif %} | {% endfor %}
---|---|
{{ period|date:"TIME_FORMAT" }} | {% for desk_info in desk_infos %}
{% if forloop.parentloop.first %}
{# opening hours on the first row #}
{% for slot in desk_info.opening_hours %}
{{slot.begin}} {{slot.end}}
{% endfor %}
{% for slot in desk_info.exceptions %}
{% if slot.label %}{{slot.label}}{% endif %}
{% endfor %}
{% endif %}
{% for booking in desk_info.bookings %}
{{booking.event.start_datetime|date:"TIME_FORMAT"}}
{{ booking.get_user_block }}
{% trans "Cancel" %}
{% if booking.color %}{{ booking.color }}{% endif %}
{% endfor %}
|
{% endfor %}
{% trans "No opening hours this day." %}