From 8ca8445c2a0fb22c6695c887e375da1b9c2f0c3e Mon Sep 17 00:00:00 2001 From: Dominik George <dominik.george@teckids.org> Date: Thu, 18 Jul 2019 00:06:33 +0200 Subject: [PATCH] Render all days. --- biscuit/apps/chronos/templates/chronos/tt_week.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/biscuit/apps/chronos/templates/chronos/tt_week.html b/biscuit/apps/chronos/templates/chronos/tt_week.html index f9f9a563..17a92d5d 100644 --- a/biscuit/apps/chronos/templates/chronos/tt_week.html +++ b/biscuit/apps/chronos/templates/chronos/tt_week.html @@ -5,5 +5,7 @@ {% block page_title %}Timetable{% endblock %} {% block content %} -{% include "chronos/tt_day.html" %} + {% for weekday, lesson_periods_day in lesson_periods.items %} + {% include "chronos/tt_day.html" with lesson_periods=lesson_periods_day %} + {% endfor %} {% endblock %} -- GitLab