{% for day in days %}
{% with staff_available=staff.weekly_availability|get_item:day.weekday staff_absent=staff_absences|get_item:staff.id|get_item:day.day closure_time=closure_times|get_item:day.day %}
{% with start_closure_time=closure_time.start_time|localtime end_closure_time=closure_time.end_time|localtime %}
{% if closure_time %}
{% with custom_data_template="
" %}
Closed
{% endwith %}
{% elif staff_absent %}
{% if not staff_absent.full_day and not user.is_facility_manager %}