diff --git a/biscuit/apps/chronos/templates/chronos/tt_week.html b/biscuit/apps/chronos/templates/chronos/tt_week.html index 194081034a657f640a853823d9cf977c73868f14..d29e959ab5dde5f3c408479af1dd5e1efdd27c4a 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 +