From dd254e45ec0530c0811ed0bd1e6c1a96da645f13 Mon Sep 17 00:00:00 2001
From: Dominik George <dominik.george@teckids.org>
Date: Mon, 22 Jul 2019 12:37:09 +0200
Subject: [PATCH] Fix weekday headers.

---
 biscuit/apps/chronos/templates/chronos/tt_week.html | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/biscuit/apps/chronos/templates/chronos/tt_week.html b/biscuit/apps/chronos/templates/chronos/tt_week.html
index 19408103..d29e959a 100644
--- a/biscuit/apps/chronos/templates/chronos/tt_week.html
+++ b/biscuit/apps/chronos/templates/chronos/tt_week.html
@@ -1,6 +1,6 @@
 {# -*- engine:django -*- #}
 {% extends "core/base.html" %}
-{% load bootstrap4 i18n %}
+{% load bootstrap4 data_helpers i18n %}
 
 {% block page_title %}Timetable{% endblock %}
 
@@ -47,8 +47,8 @@
   </div>
  
   {% for weekday, lesson_periods_day in lesson_periods.items %}
-   {% include "chronos/tt_day.html" with weekday_name=weekdays.weekday lesson_periods=lesson_periods_day %}
+   {% include "chronos/tt_day.html" with weekday_name=weekdays|get_dict:weekday lesson_periods=lesson_periods_day %}
   {% endfor %}
  </div>
 {% endblock %}
- 
\ No newline at end of file
+ 
-- 
GitLab