{# -*- engine:django -*- #} {% extends "core/base.html" %} {% load material_form i18n week_helpers static data_helpers rules time_helpers %} {% block browser_title %}{% blocktrans %}Week view{% endblocktrans %}{% endblock %} {% block extra_head %} {{ block.super }} {% endblock %} {% block content %} {{ week_select|json_script:"week_select" }}
{% blocktrans %}Period{% endblocktrans %} | {% if not group %}{% blocktrans %}Groups{% endblocktrans %} | {% endif %}{% blocktrans %}Subject{% endblocktrans %} | {% blocktrans %}Teachers{% endblocktrans %} | {% blocktrans %}Lesson topic{% endblocktrans %} | {% blocktrans %}Homework{% endblocktrans %} | {% blocktrans %}Group note{% endblocktrans %} | |
---|---|---|---|---|---|---|---|
{% include "alsijil/partials/lesson_status_icon.html" with period=period %} | {{ period.period.period }}. | {% if not group %}{{ period.lesson.group_names }} | {% endif %}{{ period.get_subject.name }} | {{ period.get_teacher_names }} | {% firstof period.get_lesson_documentation.topic "–" %} | {% firstof period.get_lesson_documentation.homework "–" %} | {% firstof period.get_lesson_documentation.group_note "–" %} |
{% trans "Absent" %}: {{ person.person.absences_count }} ({{ person.person.unexcused_count }} {% trans "unexcused" %})
{% trans "Summed up tardiness" %}: {% firstof person.person.tardiness_sum|to_time|time:"H\h i\m" "–" %}
{% trans "Count of tardiness" %}: {{ person.person.tardiness_count }} ×
{% for extra_mark in extra_marks %}{{ extra_mark.name }}: {{ person.person|get_dict:extra_mark.count_label }}
{% endfor %} {% for note in person.personal_notes %} {% if note.remarks %}{{ note.remarks }} {% weekday_to_date week note.lesson_period.period.weekday as note_date %} {{ note_date }}, {{ note.lesson_period.get_subject.name }}{% endif %} {% endfor %} {% endfor %}
{% blocktrans %} There are no lessons for the selected group or teacher in this week. {% endblocktrans %}