page headers

This commit is contained in:
bkfox
2023-12-01 20:43:12 +01:00
parent 1de9548111
commit f05e47af1c
12 changed files with 122 additions and 97 deletions

View File

@ -4,11 +4,12 @@
{% include "aircox/program_sidebar.html" %}
{% block headings %}
{% block content-container %}
{% with schedules=program.schedule_set.all %}
{{ block.super }}
{% if schedules %}
<section class="container schedules">
<section class="schedules">
{% for schedule in schedules %}
<div class="schedule">
<div class="heading">
@ -35,6 +36,9 @@
</section>
{% endif %}
{% endwith %}
{% endblock %}
{% block content-container %}
{{ block.super }}