{% extends "chrono/manager_agenda_day_view.html" %} {% load i18n %} {% block content %} {% if not hours %}

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

{% else %} {% for hour in hours %} {% endfor %} {% for user, bookings in bookings_by_user.items %} {% for _ in hours %} {% endfor %} {% endfor %}
{{ hour|date:"TIME_FORMAT" }}
{{ bookings.0.get_user_block }} {% if forloop.first %} {% for booking in bookings %}
{{ booking.start_time }} - {{ booking.end_time }}
{% endfor %} {% endif %}
{% endif %} {% endblock %}