{% extends 'base.html' %} {% block head %} {% include 'rota/partials/flatpickr_includes.html' %} {% endblock %} {% block content %}

{{ rota.name }}

Edit rota

{{ rota.description }}

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

All leave requests

{% 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.


Configured constraint values{% if configured_constraints %} ({{ configured_constraints|length }}){% endif %}
{% if configured_constraints %} {% for key, info in configured_constraints.items %} {% endfor %}
KeyValue
{{ key }}
{{ info.pretty }}
Edit
{% csrf_token %}
{% else %}

No typed constraint options have been configured for this rota.

{% endif %}
{% csrf_token %}

Edit shifts

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