Files
vergabe-teilnahme/vergabe_teilnahme/templates/core/feld_konfiguration.html
tegwick 5a231223c0 feat(WP-0012): Querschnitt — Freigaben, Felder, Feedback, Suche, Tests
Implements all 8 tasks of the final cross-cutting workplan:

- T01: Generisches Freigabe-Modal (freigabe_modal, freigabe_erteilen views + templates)
- T02: Freigaben-Übersicht pro Ausschreibung (freigaben_uebersicht view + template)
- T03: EntityFieldConfig Admin-Interface (/felder/<entity_type>/ with HTMX toggle)
- T04: CustomAttribute-Panel (full CRUD with sort, lazy HTMX load)
- T05: Feedback-Backlog mit Statusverwaltung + feedback_success.html template
- T06: End-to-End-Tests in vergabe_teilnahme/tests/test_e2e.py (8 tests)
- T07: Globale Suche erweitert (Dokumente, Nachweise, Referenzen, Marktbegleiter)
- T08: Alle Migrationen sauber, 68/68 Tests grün, Ruff-Fehler in neuem Code behoben

Bugfix: URL-Namespace-Fehler in Abgabe-Templates (ausschreibungen:nachbetrachtung:abgabe → ausschreibungen:abgabe)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-11 17:54:38 +02:00

34 lines
1.1 KiB
HTML

{% extends "base.html" %}
{% block title %}Feldkonfiguration — {{ entity_type }}{% endblock %}
{% block content %}
<div class="flex items-center justify-between mb-5">
<h1 class="page-title">Feldkonfiguration: {{ entity_type }}</h1>
</div>
<div class="flex gap-2 mb-5 flex-wrap">
{% for et in entity_types %}
<a href="/felder/{{ et }}/"
class="px-3 py-1 rounded text-sm {% if et == entity_type %}bg-brand-600 text-white{% else %}bg-slate-100 text-slate-700 hover:bg-slate-200{% endif %}">
{{ et }}
</a>
{% endfor %}
</div>
<div class="card">
<table class="w-full text-sm">
<thead>
<tr class="text-left border-b border-slate-200">
<th class="pb-2 font-medium text-slate-600">Feldname</th>
<th class="pb-2 font-medium text-slate-600">Anzeige-Label</th>
<th class="pb-2 font-medium text-slate-600 text-center">Ausgeblendet</th>
</tr>
</thead>
<tbody>
{% for eintrag in felder %}
{% include "core/partials/feld_zeile.html" with cfg=eintrag.cfg field_name=eintrag.feld.name entity_type=entity_type %}
{% endfor %}
</tbody>
</table>
</div>
{% endblock %}