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 @@ ...@@ -13,42 +13,42 @@
{% block content %} {% block content %}
{% for group in groups %} {% for group in groups %}
{% if include_cover %} {% 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> <div class="page-break">&nbsp;</div>
{% endif %} {% endif %}
{% if include_abbreviations %} {% 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> <div class="page-break">&nbsp;</div>
{% endif %} {% endif %}
{% if include_members_table %} {% 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> <div class="page-break">&nbsp;</div>
{% endif %} {% endif %}
{% if include_teachers_and_subjects_table %} {% if include_teachers_and_subjects_table %}
{% if group.courses.all %} {% if group.courses.all %}
<h4>{% trans 'Teachers and lessons in group' %} {{ group.name }}</h4> <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> <div class="page-break">&nbsp;</div>
{% endif %} {% endif %}
{% if group.child_groups.all %} {% if group.child_groups.all %}
<h4>{% trans 'Teachers and lessons in child groups' %}</h4> <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> <div class="page-break">&nbsp;</div>
{% endif %} {% endif %}
{% endif %} {% endif %}
{% if include_person_overviews %} {% if include_person_overviews %}
{% for person in group.members_with_stats %} {% 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> <div class="page-break">&nbsp;</div>
{% endfor %} {% endfor %}
{% endif %} {% endif %}
{% if include_coursebook %} {% if include_coursebook %}
{% include "alsijil/partials/register_coursebook.html" with group=group %} {% include "alsijil/print/partials/register_coursebook.html" with group=group %}
{% endif %} {% endif %}
{% endfor %} {% endfor %}
{% endblock %} {% 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