Merge remote-tracking branch 'origin/main' into LPM-48

This commit is contained in:
Robin Olsen
2026-03-08 10:58:24 +01:00
31 changed files with 527 additions and 228 deletions

View File

@@ -47,6 +47,17 @@ templ IssueDetailContent(props IssueDetailProps) {
>
Edit
</button>
if props.Issue.Status != "closed" {
<button
type="button"
class="btn btn-warning btn-sm btn-outline"
hx-get={ "/issues/" + props.Issue.ID + "/close" }
hx-target="#modal-container"
hx-swap="innerHTML"
>
Close issue
</button>
}
</div>
<div id="issue-detail-container" class="mb-6">
@components.IssueDetail(components.IssueDetailProps{Issue: props.Issue})