From e6ca39fa6146748d96604b2d80183a1d72503c45 Mon Sep 17 00:00:00 2001 From: Julian Leucker <leuckerj@gmail.com> Date: Tue, 29 Oct 2019 14:42:37 +0100 Subject: [PATCH] I FINALLY FIXED THE ISSUE --- .../apps/chronos/templates/timetable/plan.html | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/biscuit/apps/chronos/templates/timetable/plan.html b/biscuit/apps/chronos/templates/timetable/plan.html index 69a1a496..9ffbc7a1 100755 --- a/biscuit/apps/chronos/templates/timetable/plan.html +++ b/biscuit/apps/chronos/templates/timetable/plan.html @@ -1,5 +1,6 @@ {% include 'partials/header.html' %} {% load copy_filter %} +{% load list_filter %} <script type="text/javascript"> {% if smart %} var week = {{ selected_week }}; @@ -223,13 +224,13 @@ </div> </div> - {% for col in row %} - {% if forloop.counter0 == long_week_days.0.1 %} - <div class="col s8"> - {# A lesson #} - {% include "timetable/lesson.html" %} - </div> - {% endif %} + {% for col in row|deepcopy %} + {% if forloop.counter0 == day.0.1 %} + <div class="col s8"> + {# A lesson #} + {% include "timetable/lesson.html" %} + </div> + {% endif %} {% endfor %} </div> {% endfor %} -- GitLab