From fda11da93554e529f87b33fe87d7505ae52c496f Mon Sep 17 00:00:00 2001 From: Dominik George <dominik.george@teckids.org> Date: Wed, 4 Sep 2019 21:37:17 +0200 Subject: [PATCH] Add information on lesson to personal notes display. --- biscuit/apps/alsijil/templates/alsijil/group_week.html | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/biscuit/apps/alsijil/templates/alsijil/group_week.html b/biscuit/apps/alsijil/templates/alsijil/group_week.html index 420613d63..d6cdfb7b7 100644 --- a/biscuit/apps/alsijil/templates/alsijil/group_week.html +++ b/biscuit/apps/alsijil/templates/alsijil/group_week.html @@ -83,9 +83,13 @@ </p> {% for note in person.personal_notes.all %} {% if note.remarks %} - <p class="card-text"> + <blockquote class="blockquote mb-0"> {{ note.remarks }} - </p> + <footer class="blockquote-footer"> + {% weekday_to_date week note.lesson_period.period.weekday as note_date %} + {{ note_date }}, {{ note.lesson_period.subject.name }} + </footer> + </blockquote> {% endif %} {% endfor %} </div> -- GitLab