Replace bracket detail page with /jobs?bracket_id= filter

- Bracket names in the list now link directly to /jobs?bracket_id=X
- /brackets/{id} redirects to /jobs?bracket_id=X (keeps old links working)
- Bracket link on job detail page updated accordingly
- bracket_detail.html and add_jobs_to_bracket route removed

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Martin Hohenberg
2026-06-18 22:33:55 +02:00
parent 6e43557ae0
commit 6c60dc5960
4 changed files with 5 additions and 224 deletions

View File

@@ -26,7 +26,7 @@
{% set done = b.jobs | selectattr('status.value', 'equalto', 'done') | list | length %}
{% set pct = (done / total * 100) | int if total else 0 %}
<tr>
<td><a href="/brackets/{{ b.id }}" class="text-white text-decoration-none fw-medium">{{ b.name }}</a></td>
<td><a href="/jobs?bracket_id={{ b.id }}" class="text-white text-decoration-none fw-medium">{{ b.name }}</a></td>
<td class="text-secondary">{{ b.customer or '—' }}</td>
<td style="min-width:200px">
{% if total %}