{% extends "chrono/manager_agenda_view.html" %} {% load i18n %} {% block bodyargs %}class="dayview"{% endblock %} {% block breadcrumb %} {{ block.super }} {{ day|date:"SHORT_DATE_FORMAT" }} {% endblock %} {% block appbar %}
{% for desk_info in desk_infos %} | {{ desk_info.desk.label }} | {% 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 %}
{% endif %}
{% for booking in desk_info.bookings %}
{{booking.event.start_datetime|date:"TIME_FORMAT"}}
{% if booking.label or booking.user_name %}
{{booking.label}}{% if booking.label and booking.user_name %} - {% endif %} {{booking.user_name}}
{% else %}{% trans "booked" %}{% endif %}
{% endfor %}
|
{% endfor %}
{% trans "No opening hours this day." %}