{% load i18n %}

{% trans 'Coursebook' %}

{% for day, documentations in group.documentations_by_day.items %} {% for doc in documentations %} {% if forloop.first %} {% endif %} {% endfor %} {% endfor %}
{% trans 'Time' %} {% trans 'Subj.' %} {% trans 'Topic' %} {% trans 'Homework' %} {% trans 'Notes' %} {% trans 'Te.' %}
{{ day|date:"D" }} {% 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 %} {% include "chronos/partials/subject.html" with subject=doc.subject %} {{ doc.topic }} {{ doc.homework }} {{ documentation.group_note }} {% for participation in doc.notable_participations %} {% if participation.absence_reason %} {{ participation.person.short_name }} ({{ participation.absence_reason.short_name }}) {% endif %} {% if participation.tardiness %} {{ participation.person.short_name }} ({{ participation.tardiness }}′) {% endif %} {% for personal_note in doc.personal_notes.all %} {% if personal_note.extra_mark %} {{ personal_note.person.short_name }} ({{ personal_note.extra_mark.short_name }}) {% endif %} {% if personal_note.note %} {{ personal_note.person.short_name }} ({{ personal_note.note }}) {% endif %} {% endfor %} {% endfor %} {% if doc.topic %} {{ doc.get_teachers_short_names|join:', ' }} {% endif %}