{% extends "chrono/manager_resource_detail.html" %} {% load i18n %} {% block bodyargs %}class="monthview"{% endblock %} {% block breadcrumb %} {{ block.super }} {{ view.date|date:"F Y" }} {% endblock %} {% block appbar-title %}

{{ view.date|date:"F Y" }} {% with selected_month=view.date|date:"n" selected_year=view.date|date:"Y" %} {% endwith %}

{% endblock %} {% block appbar-extras %} {% 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 %} {% 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.booked_slots %}
{{ slot.booking.event.start_datetime|date:"TIME_FORMAT" }} {{ slot.booking.get_user_block }}
{% endfor %} {% endif %}
{% endif %} {% empty %}

{% trans "No bookings this month." %}

{% endfor %} {% endblock %}