From 3d3bc31bf3792f6671349773a59c5c010b8dc52b Mon Sep 17 00:00:00 2001
From: Jonathan Weth <git@jonathanweth.de>
Date: Tue, 28 Jan 2025 11:44:11 +0100
Subject: [PATCH] Fix directory structure for print files

---
 .../{ => print}/partials/person_overview.html      |  0
 .../partials/register_abbreviations.html           |  0
 .../{ => print}/partials/register_coursebook.html  |  0
 .../{ => print}/partials/register_cover.html       |  0
 .../partials/register_members_table.html           |  0
 .../register_teachers_and_subjects_table.html      |  0
 .../alsijil/print/register_for_group.html          | 14 +++++++-------
 7 files changed, 7 insertions(+), 7 deletions(-)
 rename aleksis/apps/alsijil/templates/alsijil/{ => print}/partials/person_overview.html (100%)
 rename aleksis/apps/alsijil/templates/alsijil/{ => print}/partials/register_abbreviations.html (100%)
 rename aleksis/apps/alsijil/templates/alsijil/{ => print}/partials/register_coursebook.html (100%)
 rename aleksis/apps/alsijil/templates/alsijil/{ => print}/partials/register_cover.html (100%)
 rename aleksis/apps/alsijil/templates/alsijil/{ => print}/partials/register_members_table.html (100%)
 rename aleksis/apps/alsijil/templates/alsijil/{ => print}/partials/register_teachers_and_subjects_table.html (100%)

diff --git a/aleksis/apps/alsijil/templates/alsijil/partials/person_overview.html b/aleksis/apps/alsijil/templates/alsijil/print/partials/person_overview.html
similarity index 100%
rename from aleksis/apps/alsijil/templates/alsijil/partials/person_overview.html
rename to aleksis/apps/alsijil/templates/alsijil/print/partials/person_overview.html
diff --git a/aleksis/apps/alsijil/templates/alsijil/partials/register_abbreviations.html b/aleksis/apps/alsijil/templates/alsijil/print/partials/register_abbreviations.html
similarity index 100%
rename from aleksis/apps/alsijil/templates/alsijil/partials/register_abbreviations.html
rename to aleksis/apps/alsijil/templates/alsijil/print/partials/register_abbreviations.html
diff --git a/aleksis/apps/alsijil/templates/alsijil/partials/register_coursebook.html b/aleksis/apps/alsijil/templates/alsijil/print/partials/register_coursebook.html
similarity index 100%
rename from aleksis/apps/alsijil/templates/alsijil/partials/register_coursebook.html
rename to aleksis/apps/alsijil/templates/alsijil/print/partials/register_coursebook.html
diff --git a/aleksis/apps/alsijil/templates/alsijil/partials/register_cover.html b/aleksis/apps/alsijil/templates/alsijil/print/partials/register_cover.html
similarity index 100%
rename from aleksis/apps/alsijil/templates/alsijil/partials/register_cover.html
rename to aleksis/apps/alsijil/templates/alsijil/print/partials/register_cover.html
diff --git a/aleksis/apps/alsijil/templates/alsijil/partials/register_members_table.html b/aleksis/apps/alsijil/templates/alsijil/print/partials/register_members_table.html
similarity index 100%
rename from aleksis/apps/alsijil/templates/alsijil/partials/register_members_table.html
rename to aleksis/apps/alsijil/templates/alsijil/print/partials/register_members_table.html
diff --git a/aleksis/apps/alsijil/templates/alsijil/partials/register_teachers_and_subjects_table.html b/aleksis/apps/alsijil/templates/alsijil/print/partials/register_teachers_and_subjects_table.html
similarity index 100%
rename from aleksis/apps/alsijil/templates/alsijil/partials/register_teachers_and_subjects_table.html
rename to aleksis/apps/alsijil/templates/alsijil/print/partials/register_teachers_and_subjects_table.html
diff --git a/aleksis/apps/alsijil/templates/alsijil/print/register_for_group.html b/aleksis/apps/alsijil/templates/alsijil/print/register_for_group.html
index 225763327..6c1d5aa9f 100644
--- a/aleksis/apps/alsijil/templates/alsijil/print/register_for_group.html
+++ b/aleksis/apps/alsijil/templates/alsijil/print/register_for_group.html
@@ -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 %}
-- 
GitLab