{% extends "core/base_print.html" %} {% load static i18n %} {% block page_title %} {% trans "Class Register" %} {% endblock %} {% block extra_head %} {% endblock %} {% block content %} {% for group in groups %} {% if include_cover %} {% include "alsijil/partials/register_cover.html" with group=group %}
 
{% endif %} {% if include_abbreviations %} {% include "alsijil/partials/register_abbreviations.html" with group=group %}
 
{% endif %} {% if include_members_table %} {% include "alsijil/partials/register_members_table.html" with group=group %}
 
{% endif %} {% if include_teachers_and_subjects_table %} {% if group.courses.all %}

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

{% include "alsijil/partials/register_teachers_and_subjects_table.html" with groups=group.as_list only %}
 
{% endif %} {% if group.child_groups.all %}

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

{% include "alsijil/partials/register_teachers_and_subjects_table.html" with groups=group.child_groups.all only %}
 
{% endif %} {% endif %} {% if include_person_overviews %} {% for person in group.members_with_stats %} {% include "alsijil/partials/person_overview.html" with person=person group=group %}
 
{% endfor %} {% endif %} {% if include_coursebook %} {% include "alsijil/partials/register_coursebook.html" with group=group %} {% endif %} {% endfor %} {% endblock %}