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

@@ -63,7 +63,18 @@ templ DashboardContent(props DashboardProps) {
>
Edit
</button>
<button
if props.SelectedIssue.Status != "closed" {
<button
type="button"
class="btn btn-warning btn-sm btn-outline"
hx-get={ "/issues/" + props.SelectedIssue.ID + "/close" }
hx-target="#modal-container"
hx-swap="innerHTML"
>
Close issue
</button>
}
<button
class="btn btn-sm"
hx-get={ "/issues/" + props.SelectedIssue.ID }
hx-target="main"