{% static "img/aleksis-banner.svg" as aleksis_banner %}
{{ group.name }}
{% trans 'Owners' %}:
{{ group.owners.all|join:', ' }}
{% trans 'Printed on' %} {{ today }}
{% blocktrans %}
This printout is intended for archival purposes. The main copy of
the class register is stored in the AlekSIS School Information
System.
{% endblocktrans %}
{% blocktrans %}
Copies of the class register, both digital and as printout, must
only be kept inside the school and/or on devices authorised by the
school.
{% endblocktrans %}
{% blocktrans %}
The owner of the group and the headteacher confirm the above, as
well as the correctness of this printout.
{% endblocktrans %}
{% with "_personal_notes_with_"|add:note_filter.identifier as identifier %}
{{ person|get_dict:identifier }}
{% endwith %}
{% endfor %}
{% endif %}
{% trans 'Absences and tardiness' %}
{% trans 'Absences' %}
{{ person.absences_count }}
{% trans "thereof" %}
{% trans 'Excused' %}
{{ person.excused }}
{% for excuse_type in excuse_types %}
{{ excuse_type.name }}
{{ person|get_dict:excuse_type.count_label }}
{% endfor %}
{% trans 'Unexcused' %}
{{ person.unexcused }}
{% trans 'Tardiness' %}
{{ person.tardiness }}'
{% trans 'Relevant personal notes' %}
{% trans 'Date' %}
{% trans 'Pe.' %}
{% trans 'Subj.' %}
{% trans 'Te.' %}
{% trans 'Absent' %}
{% trans 'Tard.' %}
{% trans 'Remarks' %}
{% for note in person.personal_notes.all %}
{% if note.absent or note.late or note.remarks %}
{% period_to_date note.week note.lesson_period.period as note_date %}
{% if note.absent %}
{% trans 'Yes' %}
{% if note.excused %}
{% if note.excuse_type %}
({{ note.excuse_type.short_name }})
{% else %}
({% trans 'e' %})
{% endif %}
{% endif %}
{% endif %}
{% if note.late %}
{{ note.late }}'
{% endif %}
{{ note.remarks }}
{% endif %}
{% endfor %}
{% endfor %}
{% for week in weeks %}
{% trans 'Lesson documentation for week' %} {{ week.week }}
{% trans 'Pe.' %}
{% trans 'Subj.' %}
{% trans 'Lesson topic' %}
{% trans 'Homework' %}
{% trans 'Notes' %}
{% trans 'Te.' %}
{% for day in week %}
{% with periods_by_day|get_dict:day as periods %}
{% for period, documentations, notes, substitution in periods %}
{% if forloop.first %}
{{ day }}
{% endif %}
{{ period.period.period }}
{% if substitution %}
{% include "chronos/partials/subs/subject.html" with type="substitution" el=substitution %}
{% else %}
{% include "chronos/partials/subject.html" with subject=period.lesson.subject %}
{% endif %}
{% if substitution.cancelled %}
{% trans 'Lesson cancelled' %}
{% else %}
{{ documentations.0.topic }}
{% endif %}
{{ documentations.0.homework }}
{% for note in notes %}
{% if note.person in group.members.all %}
{% if note.absent %}
{{ note.person.last_name }}, {{ note.person.first_name|slice:"0:1" }}.
{% if note.excused %}
{% if note.excuse_type %}
({{ note.excuse_type.short_name }})
{% else %}
({% trans 'e' %})
{% endif %}
{% endif %}
{% endif %}
{% if note.late %}
{{ note.person.last_name }}, {{ note.person.first_name|slice:"0:1" }}.
({{ note.late }}′)
{% if note.excused %}
{% if note.excuse_type %}
({{ note.excuse_type.short_name }})
{% else %}
({% trans 'e' %})
{% endif %}
{% endif %}
{% endif %}
{% endif %}
{% endfor %}
{% if documentations.0.topic %}
{{ substitution.teachers.first.short_name|default:period.lesson.teachers.first.short_name }}
{% endif %}