{% load i18n %} {% if booking_colors %} {% include "chrono/booking_color_legend.html" with colors=booking_colors %} {% endif %} {% for week_days in view.get_timetable_infos %} {% if forloop.first %}
{% blocktrans with weeknum=day.date|date:"W" %}Week{{ weeknum }}{% endblocktrans %} | {% endif %}{% if kind == 'month' and not day.other_month or kind == 'week' %}{{ day.date|date:"l j" }}{% if kind == 'week' %} {{ day.date|date:"F" }}{% endif %}{% endif %} |
{% endfor %}
---|---|
{{ hour|date:"TIME_FORMAT" }} | {% for day in week_days.days %}
{% if forloop.parentloop.first %}
{% for slot in day.infos.opening_hours %}
{% for slot in slot.slots %}
{% endfor %}
{% endfor %}
{% for slot in day.infos.exceptions %}
{% endfor %}
{% for slot in day.infos.booked_slots %}
{% if slot.booking.lease %}
{% endfor %}
{% endif %}
{% trans "Currently being booked..." %} {% else %} {% endif %} |
{% endfor %}
{% trans "No opening hours this month." %}
{% else %}{% trans "No opening hours this week." %}
{% endif %}