diff --git a/djangorota/djangorota/templates/rota/rota_detail.html b/djangorota/djangorota/templates/rota/rota_detail.html
index 0d557b6..d52e5d6 100644
--- a/djangorota/djangorota/templates/rota/rota_detail.html
+++ b/djangorota/djangorota/templates/rota/rota_detail.html
@@ -19,28 +19,7 @@
{% include 'rota/partials/worker_list.html' %}
-
-
- Historic runs
-
-
-
-
- {% for run in rota.runs.all %}
- -
- Run {{ run.id }} — {{ run.get_status_display }}
- {% if run.finished_at %} — finished {{ run.finished_at }}{% endif %}
- Export
-
- {% empty %}
- - No previous runs
- {% endfor %}
-
-
-
+ {# Historic runs moved to be grouped with the scheduled-run controls further down the page. #}
Constraint options
@@ -108,6 +87,17 @@
+ {# Run controls and historic runs moved to the bottom of the page. #}
+
+
+
Edit shifts
+
+
{# Load form via HTMX when user clicks 'Add shift' - initial empty state #}
+ {% include 'rota/partials/shift_list.html' %}
+
+
+
+
-
-
-
-
Edit shifts
-
-
{# Load form via HTMX when user clicks 'Add shift' - initial empty state #}
- {% include 'rota/partials/shift_list.html' %}
+
+
+ Historic runs
+
+
+
+
+ {% for run in rota.runs.all %}
+ -
+ Run {{ run.id }} — {{ run.get_status_display }}
+ {% if run.finished_at %} — finished {{ run.finished_at }}{% endif %}
+ Export
+
+ {% empty %}
+ - No previous runs
+ {% endfor %}
+
+