diff --git a/templates/accounts/roles.html b/templates/accounts/pages/roles.html
similarity index 100%
rename from templates/accounts/roles.html
rename to templates/accounts/pages/roles.html
diff --git a/templates/components/create_ticket_modal.html b/templates/components/create_ticket_modal.html
deleted file mode 100644
index fc79f1a..0000000
--- a/templates/components/create_ticket_modal.html
+++ /dev/null
@@ -1,63 +0,0 @@
-
-
-
-
-
-
Create Ticket
-
-
-
-
-
diff --git a/templates/contributions/index.html b/templates/contributions/pages/index.html
similarity index 100%
rename from templates/contributions/index.html
rename to templates/contributions/pages/index.html
diff --git a/templates/dashboard/index.html b/templates/dashboard/pages/index.html
similarity index 100%
rename from templates/dashboard/index.html
rename to templates/dashboard/pages/index.html
diff --git a/templates/dashboard/recent_activity_all.html b/templates/dashboard/pages/recent_activity_all.html
similarity index 100%
rename from templates/dashboard/recent_activity_all.html
rename to templates/dashboard/pages/recent_activity_all.html
diff --git a/templates/components/edit_epic_modal.html b/templates/epics/modals/edit.html
similarity index 100%
rename from templates/components/edit_epic_modal.html
rename to templates/epics/modals/edit.html
diff --git a/templates/epics/form.html b/templates/epics/pages/form.html
similarity index 100%
rename from templates/epics/form.html
rename to templates/epics/pages/form.html
diff --git a/templates/epics/overview.html b/templates/epics/pages/overview.html
similarity index 99%
rename from templates/epics/overview.html
rename to templates/epics/pages/overview.html
index 12b1079..4c1e22b 100644
--- a/templates/epics/overview.html
+++ b/templates/epics/pages/overview.html
@@ -236,7 +236,7 @@
{% endif %}
{% endif %}
- {% include "components/edit_epic_modal.html" %}
- {% include "components/create_ticket_modal.html" %}
+ {% include "epics/modals/edit.html" %}
+ {% include "tickets/modals/create.html" %}
{% endblock %}
diff --git a/templates/components/external_dashboard_modal.html b/templates/external/modals/dashboard.html
similarity index 100%
rename from templates/components/external_dashboard_modal.html
rename to templates/external/modals/dashboard.html
diff --git a/templates/external/access.html b/templates/external/pages/access.html
similarity index 100%
rename from templates/external/access.html
rename to templates/external/pages/access.html
diff --git a/templates/external/list.html b/templates/external/pages/list.html
similarity index 100%
rename from templates/external/list.html
rename to templates/external/pages/list.html
diff --git a/templates/leaderboard/index.html b/templates/leaderboard/pages/index.html
similarity index 100%
rename from templates/leaderboard/index.html
rename to templates/leaderboard/pages/index.html
diff --git a/templates/notifications/list.html b/templates/notifications/pages/list.html
similarity index 100%
rename from templates/notifications/list.html
rename to templates/notifications/pages/list.html
diff --git a/templates/projects/partials/board_automation_modal.html b/templates/projects/modals/automation.html
similarity index 100%
rename from templates/projects/partials/board_automation_modal.html
rename to templates/projects/modals/automation.html
diff --git a/templates/projects/board.html b/templates/projects/pages/board.html
similarity index 99%
rename from templates/projects/board.html
rename to templates/projects/pages/board.html
index 2b575ec..88cd919 100644
--- a/templates/projects/board.html
+++ b/templates/projects/pages/board.html
@@ -863,7 +863,7 @@ class="space-y-6"
-{% include "projects/partials/board_automation_modal.html" %}
+{% include "projects/modals/automation.html" %}
{% endif %}
diff --git a/templates/projects/detail.html b/templates/projects/pages/detail.html
similarity index 99%
rename from templates/projects/detail.html
rename to templates/projects/pages/detail.html
index 27b3574..3e86b0e 100644
--- a/templates/projects/detail.html
+++ b/templates/projects/pages/detail.html
@@ -593,7 +593,7 @@
- {% include "components/external_dashboard_modal.html" with show_state="$store.projectDetail.externalModalOpen" %}
+ {% include "external/modals/dashboard.html" with show_state="$store.projectDetail.externalModalOpen" %}
-{% include "projects/partials/board_automation_modal.html" with selected_project=project %}
+{% include "projects/modals/automation.html" with selected_project=project %}
{% endblock %}
diff --git a/templates/projects/form.html b/templates/projects/pages/form.html
similarity index 99%
rename from templates/projects/form.html
rename to templates/projects/pages/form.html
index 3ffe8ec..e2302c4 100644
--- a/templates/projects/form.html
+++ b/templates/projects/pages/form.html
@@ -627,7 +627,7 @@
{% endif %}
{% if project %}
-{% include "components/external_dashboard_modal.html" with show_state="externalModalOpen" %}
+{% include "external/modals/dashboard.html" with show_state="externalModalOpen" %}