feat(aufgaben): Verknüpfungen, implizite Fälligkeit, Issue-Facade (WP-0015)
- Aufgabe.erstellt_am für implizite 7-Tage-Fälligkeit - frist_effektiv property; ist_ueberfaellig nutzt sie - AufgabenVerknuepfung (GenericForeignKey) mit HTMX-Panel - ExternalIssue (OneToOne) mit IssueAdapter-ABC und HTMX-Panel - link_registry.py und issue_facade.py als zentrale Registries - 8 neue Tests, 76 gesamt grün Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
a0c0ddf2eb
commit
816c281f6a
19 changed files with 713 additions and 19 deletions
|
|
@ -0,0 +1,32 @@
|
|||
<form hx-post="{% url 'ausschreibungen:aufgaben:external_issue' ausschreibung.pk aufgabe.pk %}"
|
||||
hx-target="#external-issue-panel"
|
||||
hx-swap="innerHTML"
|
||||
class="space-y-2">
|
||||
{% csrf_token %}
|
||||
<div>
|
||||
<label class="form-label">System</label>
|
||||
{{ form.system }}
|
||||
</div>
|
||||
<div>
|
||||
<label class="form-label">Issue-URL</label>
|
||||
{{ form.issue_url }}
|
||||
</div>
|
||||
<div>
|
||||
<label class="form-label">Issue-Key</label>
|
||||
{{ form.issue_key }}
|
||||
</div>
|
||||
<div>
|
||||
<label class="form-label">Notizen</label>
|
||||
{{ form.notizen }}
|
||||
</div>
|
||||
{% if form.errors %}
|
||||
<p class="text-xs text-red-600">{{ form.errors }}</p>
|
||||
{% endif %}
|
||||
<div class="flex gap-2">
|
||||
<button type="submit" class="btn-primary text-xs">Speichern</button>
|
||||
<button type="button" class="btn-ghost text-xs"
|
||||
hx-get="{% url 'ausschreibungen:aufgaben:external_issue_panel' ausschreibung.pk aufgabe.pk %}"
|
||||
hx-target="#external-issue-panel"
|
||||
hx-swap="innerHTML">Abbrechen</button>
|
||||
</div>
|
||||
</form>
|
||||
Loading…
Add table
Add a link
Reference in a new issue