Skip to content
Snippets Groups Projects
Commit 16e45edd authored by Nik | Klampfradler's avatar Nik | Klampfradler
Browse files

Merge branch 'fix/directory-print-partials' into 'master'

Fix directory structure for print files

See merge request !478
parents 3c8d669c 3d3bc31b
No related branches found
No related tags found
1 merge request!478Fix directory structure for print files
Pipeline #195695 failed
......@@ -13,42 +13,42 @@
{% block content %}
{% for group in groups %}
{% if include_cover %}
{% include "alsijil/partials/register_cover.html" with group=group %}
{% include "alsijil/print/partials/register_cover.html" with group=group %}
<div class="page-break">&nbsp;</div>
{% endif %}
{% if include_abbreviations %}
{% include "alsijil/partials/register_abbreviations.html" with group=group %}
{% include "alsijil/print/partials/register_abbreviations.html" with group=group %}
<div class="page-break">&nbsp;</div>
{% endif %}
{% if include_members_table %}
{% include "alsijil/partials/register_members_table.html" with group=group %}
{% include "alsijil/print/partials/register_members_table.html" with group=group %}
<div class="page-break">&nbsp;</div>
{% endif %}
{% if include_teachers_and_subjects_table %}
{% if group.courses.all %}
<h4>{% trans 'Teachers and lessons in group' %} {{ group.name }}</h4>
{% include "alsijil/partials/register_teachers_and_subjects_table.html" with groups=group.as_list only %}
{% include "alsijil/print/partials/register_teachers_and_subjects_table.html" with groups=group.as_list only %}
<div class="page-break">&nbsp;</div>
{% endif %}
{% if group.child_groups.all %}
<h4>{% trans 'Teachers and lessons in child groups' %}</h4>
{% include "alsijil/partials/register_teachers_and_subjects_table.html" with groups=group.child_groups.all only %}
{% include "alsijil/print/partials/register_teachers_and_subjects_table.html" with groups=group.child_groups.all only %}
<div class="page-break">&nbsp;</div>
{% endif %}
{% endif %}
{% if include_person_overviews %}
{% for person in group.members_with_stats %}
{% include "alsijil/partials/person_overview.html" with person=person group=group %}
{% include "alsijil/print/partials/person_overview.html" with person=person group=group %}
<div class="page-break">&nbsp;</div>
{% endfor %}
{% endif %}
{% if include_coursebook %}
{% include "alsijil/partials/register_coursebook.html" with group=group %}
{% include "alsijil/print/partials/register_coursebook.html" with group=group %}
{% endif %}
{% endfor %}
{% endblock %}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment