{% extends "core/base_print.html" %} {% load static i18n data_helpers week_helpers %} {% block page_title %} {% trans "Class register:" %} {{ group.name }} {% endblock %} {% block extra_head %} {% endblock %} {% block content %}

{% trans 'Class register' %}

{{ school_term }}

({{ school_term.date_start }}–{{ school_term.date_end }})

{% static "img/aleksis-banner.svg" as aleksis_banner %} {{ SITE_PREFERENCES.general__title }} – Logo

{{ 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 %}

{% trans 'Owners' %}
{% trans 'Headteacher' %}
 

{% trans "Abbreviations" %}

{% trans "General" %}
{% if excuse_types %}
{% trans "Custom excuse types" %}
{% endif %} {% if excuse_types_not_absent %}
{% trans "Custom excuse types (not counted as absent)" %}
{% endif %} {% if extra_marks %}
{% trans "Available extra marks" %}
{% endif %}
 

{% trans 'Persons in group' %} {{ group.name }}

{% for excuse_type in excuse_types %} {% endfor %} {% for excuse_type in excuse_types_not_absent %} {% endfor %} {% for extra_mark in extra_marks %} {% endfor %} {% for person in persons %} {% for excuse_type in excuse_types %} {% endfor %} {% for excuse_type in excuse_types_not_absent %} {% endfor %} {% for extra_mark in extra_marks %} {% endfor %} {% endfor %}
{% trans 'No.' %} {% trans 'Last name' %} {% trans 'First name' %} {% trans 'Sex' %} {% trans 'Date of birth' %} {% trans '(a)' %} {% trans "Sum (e)" %} {% trans "(e)" %}({{ excuse_type.short_name }}){% trans '(u)' %}({{ excuse_type.short_name }}){% trans '(b)' %}{{ extra_mark.short_name }}
{{ forloop.counter }} {{ person.last_name }} {{ person.first_name }} {{ person.get_sex_display }} {{ person.date_of_birth }} {{ person.absences_count }} {{ person.excused }} {{ person.excused_without_excuse_type }}{{ person|get_dict:excuse_type.count_label }}{{ person.unexcused }}{{ person|get_dict:excuse_type.count_label }}{{ person.tardiness }}'/{{ person.tardiness_count }}×{{ person|get_dict:extra_mark.count_label }}
 
{% if lessons %}

{% trans 'Teachers and lessons in group' %} {{ group.name }}

{% for lesson in lessons %} {% endfor %}
{% trans 'Subject' %} {% trans 'Teacher' %} {% trans 'Lesson start' %} {% trans 'Lesson end' %} {% trans 'Per week' %}
{{ lesson.subject.name }} {{ lesson.teachers.all|join:', ' }} {{ lesson.validity.date_start }} {{ lesson.validity.date_end }} {{ lesson.lesson_periods.count }}
 
{% endif %} {% if child_groups %}

{% trans 'Teachers and lessons in child groups' %}

{% for child_group in child_groups %} {% for lesson in child_group.lessons.all %} {% endfor %} {% endfor %}
{% trans 'Group' %} {% trans 'Subject' %} {% trans 'Teacher' %} {% trans 'Lesson start' %} {% trans 'Lesson end' %} {% trans 'Per week' %}
{{ child_group.name }} {{ lesson.subject.name }} {{ lesson.teachers.all|join:', ' }} {{ lesson.validity.date_start }} {{ lesson.validity.date_end }} {{ lesson.lesson_periods.count }}
 
{% endif %} {% for person in persons %}

{% trans 'Personal overview' %}: {{ person.last_name }}, {{ person.first_name }}

{% blocktrans %}Contact details{% endblocktrans %}
{% if person.photo %} {{ person.first_name }} {{ person.last_name }} {% else %} {{ person.first_name }} {{ person.last_name }} {% endif %} {{ person.first_name }} {{ person.additional_name }} {{ person.last_name }}
{{ person.get_sex_display }}
{{ person.street }} {{ person.housenumber }} {{ person.postal_code }} {{ person.place }}
{{ person.phone_number }} {{ person.mobile_number }}
{{ person.email }}
{{ person.date_of_birth|date }}
{% trans 'Absences and tardiness' %}
{% for excuse_type in excuse_types %} {% endfor %} {% for excuse_type in excuse_types_not_absent %} {% endfor %}
{% trans 'Absences' %} {{ person.absences_count }}
{% trans "thereof" %} {% trans 'Excused' %} {{ person.excused }}
{% trans "thereof" %} {% trans "Without excuse type" %} {{ person.excused_without_excuse_type }}
{{ excuse_type.name }} {{ person|get_dict:excuse_type.count_label }}
{% trans 'Unexcused' %} {{ person.unexcused }}
{{ excuse_type.name }} {{ person|get_dict:excuse_type.count_label }}
{% trans 'Tardiness' %} {{ person.tardiness }}'/{{ person.tardiness_count }}×
{% if extra_marks %}
{% trans 'Extra marks' %}
{% for extra_mark in extra_marks %} {% endfor %}
{{ extra_mark.name }} {{ person|get_dict:extra_mark.count_label }}
{% endif %}
{% trans 'Relevant personal notes' %}
{% for note in person.filtered_notes %} {% if note.absent or note.tardiness or note.remarks or note.extra_marks.all %} {% if note.date %} {% else %} {% endif %} {% endif %} {% endfor %}
{% trans 'Date' %} {% trans 'Pe.' %} {% trans 'Subj.' %} {% trans 'Te.' %} {% trans 'Absent' %} {% trans 'Tard.' %} {% trans 'Remarks' %}
{{ note.date }} {{ note.register_object.period.period }} {{ note.register_object.date_start }} {{ note.register_object.period_from.period }}.–{{ note.register_object.date_end }} {{ note.register_object.period_to.period }}. {% if note.register_object.label_ != "event" %} {{ note.register_object.get_subject.short_name }} {% else %} {% trans "Event" %} {% endif %} {{ note.register_object.teacher_short_names }} {% 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.tardiness %} {{ note.tardiness }}' {% endif %} {% for extra_mark in note.extra_marks.all %} {{ extra_mark.short_name }}{% if not forloop.last %},{% endif %} {% endfor %} {{ note.remarks }}
 
{% endfor %} {% for week in weeks %}

{% trans 'Week' %} {{ week.week }}: {{ week.0 }}–{{ week.6 }}

{% for day in week %} {% with register_objects_by_day|get_dict:day as register_objects %} {% 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 register_object.label_ != "event" %} {{ register_object.period.period }} {% else %} {{ register_object.period_from_on_day }}.–{{ register_object.period_to_on_day }}. {% endif %} {% if register_object.label_ == "event" %} {% trans "Event" %} {% elif substitution %} {% include "chronos/partials/subs/subject.html" with type="substitution" el=substitution %} {% else %} {% include "chronos/partials/subject.html" with subject=register_object.get_subject %} {% endif %} {% if register_object.label_ == "event" %} {{ register_object.title }}: {{ documentation.topic }} {% elif substitution.cancelled %} {% trans 'Lesson cancelled' %} {% else %} {{ documentation.topic }} {% endif %} {{ documentation.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 %}
 
{% endfor %} {% endblock %}