{% include 'rota/partials/flatpickr_includes.html' %}

{{ rota.name }}

Edit rota

{{ rota.description }}

Period: {{ rota.start_date }} → {{ rota.end_date }}

{% include 'rota/partials/worker_list.html' %}

Historic runs

{% csrf_token %}
    {% 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 %}

Constraint options

Configure typed rota constraint options. Click Edit to open the form showing typed fields and descriptions.


{% for key, info in available_constraints.items %} {% empty %} {% endfor %}
Key Default Current Description
{{ key }}
{{ info.default|default:"" }}
{{ info.current|default:"" }}
{{ info.description|default:"" }}
No constraint metadata available
{% csrf_token %}

Edit shifts

{# Load form via HTMX when user clicks 'Add shift' - initial empty state #}
{% include 'rota/partials/shift_list.html' %}