add ability to change assingee

This commit is contained in:
Robin Olsen
2026-02-25 13:20:30 +01:00
parent 6264f9dfc9
commit 44e894f025
12 changed files with 219 additions and 57 deletions

View File

@@ -52,10 +52,15 @@ templ IssueDetail(props IssueDetailProps) {
<span class="text-xs opacity-70 block">Created by</span>
<p>{ props.Issue.Actor }</p>
</div>
<div class="bg-base-200 rounded-lg p-2">
<span class="text-xs opacity-70 block">Assignee</span>
<p>{ props.Issue.Assignee }</p>
</div>
<a
class="btn flex flex-row gap-1 bg-base-200 rounded-lg p-2"
hx-get={ "/issues/" + props.Issue.ID + "/assignee" }
hx-target="#modal-container"
hx-swap="innerHTML"
>
<span class="text-xs opacity-70 block">Assignee:</span>
<p class="text-xs opacity-70">{ props.Issue.Assignee }</p>
</a>
</div>
}