{% load i18n %}

{% trans 'Coursebook' %}

{% for doc in group.documentations %} {% ifchanged doc.datetime_start.date %} {% endifchanged %} {% endfor %}
{% trans 'Time' %} {% trans 'Subj.' %} {% trans 'Topic' %} {% trans 'Homework' %} {% trans 'Notes' %} {% trans 'Te.' %}
{{ doc.datetime_start.date|date:"D d M Y" }}
{% if doc.amends %} {% if doc.amends.slot_number_start == doc.amends.slot_number_end %} {{ 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 %} {% if doc.subject %} {{ doc.subject.short_name|default:doc.subject.name }} {% endif %} {{ doc.topic }} {{ doc.homework }} {{ documentation.group_note }} {% for participation in doc.notable_participations %} {% if participation.absence_reason %} {{ participation.person.full_name }} ({{ participation.absence_reason.short_name }}) {% endif %} {% if participation.tardiness %} {{ participation.person.full_name }} ({{ participation.tardiness }}′) {% endif %} {% endfor %} {% for personal_note in doc.personal_notes.all %} {% if personal_note.extra_mark %} {{ personal_note.person.full_name }} ({{ personal_note.extra_mark.short_name }}) {% endif %} {% if personal_note.note %} {{ personal_note.person.full_name }} ({{ personal_note.note }}) {% endif %} {% endfor %} {% if doc.topic %} {{ doc.get_teachers_short_names|join:', ' }} {% endif %}