Skip to content
Snippets Groups Projects
Commit ffb4c320 authored by permcu's avatar permcu
Browse files

Move page-breaks into conditionals

parent 3291285b
No related branches found
No related tags found
1 merge request!422Resolve "Add export functionality to course book"
......@@ -14,22 +14,19 @@
{% for group in groups %}
{% if include_cover %}
{% include "alsijil/partials/register_cover.html" %}
<div class="page-break">&nbsp;</div>
{% endif %}
<div class="page-break">&nbsp;</div>
{% if include_abbreviations %}
{% include "alsijil/partials/register_abbreviations.html" %}
<div class="page-break">&nbsp;</div>
{% endif %}
<div class="page-break">&nbsp;</div>
{% if include_members_table %}
{% include "alsijil/partials/register_members_table.html" %}
<div class="page-break">&nbsp;</div>
{% endif %}
<div class="page-break">&nbsp;</div>
{% if include_teachers_and_subjects_table %}
{% if group.courses %}
<h4>{% trans 'Teachers and lessons in group' %} {{ group.name }}</h4>
......
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