{#- The results region of /tasks (#tasks-results): the status select in tasks.html hx-gets the route on change and the alpine-morph extension morphs the fresh fragment over this region in place — a filter change is a fragment, never a navigation. The route renders THIS template alone on an HX-Request. The region is not polled (no hx-trigger), so no live chrome arms here. -#} {% import "_table.html" as tables with context %}
{% if tasks %} {% call tables.table(['ID', 'Kind', 'Status', 'Resource', 'Assigned to', 'Created', 'Claimed', 'Completed']) %} {% for t in tasks %} {{ t.id }} {{ t.kind }} {{ t.status }} {{ t.resource }} {{ t.assigned_to or "—" }} {{ t.created_at or "—" }} {{ t.claimed_at or "—" }} {{ t.completed_at or "—" }} {% endfor %} {% endcall %} {% else %} {{ tables.empty_state('No tasks' ~ (' with status “' ~ status ~ '”' if status != 'all' else '') ~ ' in the queue') }} {% endif %}