{% trans 'Coursebook' %}

{% for day, documentations in documentations_by_day %} {% for register_object, documentation, notes, substitution in register_objects %} {% if forloop.first %} {% endif %} {% endfor %} {% endwith %} {% endfor %}
{% trans 'Pe.' %} {% trans 'Subj.' %} {% trans 'Lesson topic' %} {% trans 'Homework' %} {% trans 'Notes' %} {% trans 'Te.' %}
{{ day|date:"D" }} {% if doc.amends %} {% if doc.amends.slot_number_start == doc.amends.slot_number_ends %} {{ doc.amends.slot_number_start }}. {% else %} {{ doc.amends.slot_number_start }}.–{{ doc.amends.slot_number_end }}. {% endif %} {% else %} {{ doc.datetime_start|time:"H:i" }}-{{ doc.datetime_end|time:"H:i" }} {% endif %} {% include "chronos/partials/subject.html" with subject=doc.subject %} {{ doc.topic }} {{ doc.homework }} {{ documentation.group_note }} {% for note in notes %} {% 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.tardiness %} {{ note.person.last_name }}, {{ note.person.first_name|slice:"0:1" }}. ({{ note.tardiness }}′) {% if note.excused %} {% if note.excuse_type %} ({{ note.excuse_type.short_name }}) {% else %} ({% trans 'e' %}) {% endif %} {% endif %} {% endif %} {% for extra_mark in note.extra_marks.all %} {{ note.person.last_name }}, {{ note.person.first_name|slice:"0:1" }}. ({{ extra_mark.short_name }}) {% endfor %} {% endfor %} {% if documentation.topic %} {{ register_object.get_teachers.first.short_name }} {% endif %}