{% extends 'room_calendar_app/navs/calendar-nav.html' %} {% load django_bootstrap5 i18n %} {% block title %}{% translate 'Blocks View' %}{% endblock title %} {% block content %}
| # | {% for n,day in calendar.week_days %}{{ day }} | {% endfor %}|
|---|---|---|
| {{ slot|time:"H:i" }} | {% for weekday,occurrence in data.items %} {% if occurrence.pk %}{% if user == occurrence.tenant.user %} {{ occurrence.tenant }} {% else %} {{ occurrence.tenant.display_name }} {% endif %} - {{ occurrence.start_time }}- {{ occurrence.end_time }} | {% else %}{% endif %} | {% endif %} {% endfor %} {% endfor %}