Skip to content
Snippets Groups Projects
Commit a7aa9e28 authored by permcu's avatar permcu
Browse files

Adapt the coursebook-template's peronal-notes to the new datamodel

parent 34e22655
No related branches found
No related tags found
1 merge request!422Resolve "Add export functionality to course book"
......@@ -68,11 +68,20 @@
({{ participation.tardiness }}′)
</span>
{% endif %}
{% for extra_mark in note.extra_marks.all %}
<span>
{{ note.person.last_name }}, {{ note.person.first_name|slice:"0:1" }}.
({{ extra_mark.short_name }})
</span>
{% for personal_note in doc.personal_notes %}
{% if personal_note.extra_mark %}
<span>
{{ personal_note.person.short_name }}
({{ personal_note.extra_mark.short_name }})
</span>
{% endif %}
{% if personal_note.note %}
<span>
{{ personal_note.person.short_name }}
<!-- MAYBE: Shorten note -->
({{ personal_note.note }})
</span>
{% endif %}
{% endfor %}
{% endfor %}
</td>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment