Skip to content
Snippets Groups Projects

Resolve "Add export functionality to course book"

Merged permcu requested to merge 258-add-export-functionality-to-course-book into master
1 file
+ 9
24
Compare changes
  • Side-by-side
  • Inline
@@ -53,34 +53,19 @@
<td class="lesson-homework">{{ doc.homework }}</td>
<td class="lesson-notes">
{{ documentation.group_note }}
{% for note in notes %}
{% if note.absent %}
{% for participation in doc.notable_participations %}
{% if participation.absence_reason %}
<span class="lesson-note-absent">
{{ note.person.last_name }}, {{ note.person.first_name|slice:"0:1" }}.
{% if note.excused %}
<span class="lesson-note-excused">
{% if note.excuse_type %}
({{ note.excuse_type.short_name }})
{% else %}
({% trans 'e' %})
{% endif %}
</span>
{% endif %}
{{ participation.person.short_name }}
<span class="lesson-note-excused">
({{ participation.absence_reason.short_name }})
</span>
</span>
{% endif %}
{% if note.tardiness %}
{% if participation.tardiness %}
<span class="lesson-note-late">
{{ note.person.last_name }}, {{ note.person.first_name|slice:"0:1" }}.
({{ note.tardiness }}′)
{% if note.excused %}
<span class="lesson-note-excused">
{% if note.excuse_type %}
({{ note.excuse_type.short_name }})
{% else %}
({% trans 'e' %})
{% endif %}
</span>
{% endif %}
{{ participation.person.short_name }}
({{ participation.tardiness }}′)
</span>
{% endif %}
{% for extra_mark in note.extra_marks.all %}
Loading