From b4a533e20828b36614b4004d2bcfc9df7e4c9312 Mon Sep 17 00:00:00 2001 From: Dominik George <dominik.george@teckids.org> Date: Wed, 4 Sep 2019 21:44:06 +0200 Subject: [PATCH] Only show notes of current week. --- biscuit/apps/alsijil/templates/alsijil/group_week.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/biscuit/apps/alsijil/templates/alsijil/group_week.html b/biscuit/apps/alsijil/templates/alsijil/group_week.html index ae37153b2..5c6db7264 100644 --- a/biscuit/apps/alsijil/templates/alsijil/group_week.html +++ b/biscuit/apps/alsijil/templates/alsijil/group_week.html @@ -81,7 +81,7 @@ <p class="card-text"> {% trans "Summed up tardiness" %}: {{ person.tardiness }} </p> - {% for note in person.personal_notes.all %} + {% for note in person.personal_notes|only_week:week %} {% if note.remarks %} <blockquote class="blockquote mb-0"> {{ note.remarks }} -- GitLab