From b73aeac1a4ef00aabcb2d0fda09f41cf467700ca Mon Sep 17 00:00:00 2001
From: Dominik George <dominik.george@teckids.org>
Date: Wed, 4 Sep 2019 21:39:08 +0200
Subject: [PATCH] Fix subject display in personal note list.

---
 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 d6cdfb7b7..ae37153b2 100644
--- a/biscuit/apps/alsijil/templates/alsijil/group_week.html
+++ b/biscuit/apps/alsijil/templates/alsijil/group_week.html
@@ -87,7 +87,7 @@
                     {{ note.remarks }}
                     <footer class="blockquote-footer">
                       {% weekday_to_date week note.lesson_period.period.weekday as note_date %}
-                      {{ note_date }}, {{ note.lesson_period.subject.name }}
+                      {{ note_date }}, {{ note.lesson_period.lesson.subject.name }}
                     </footer>
                   </blockquote>
                 {% endif %}
-- 
GitLab