Die Bedeutung von Session und Briefing so angepasst, dass sie Sinn ergibt.

This commit is contained in:
2024-01-02 10:56:17 +01:00
parent 2d07991c00
commit 9331035edd
11 changed files with 142 additions and 111 deletions

View File

@ -10,12 +10,12 @@
-->
{{define "refresh"}}
<button hx-post="/refresh-summary/{{.SessionID}}/{{.Login}}/" hx-target="#id-{{.Login}}"
<button hx-post="/refresh-summary/{{.BriefingID}}/{{.Login}}/" hx-target="#id-{{.Login}}"
type="button">Aktualisieren</button>
{{end}}
{{define "retry"}}
<button hx-post="/allow-retry/{{.SessionID}}/{{.Login}}/" hx-swap="delete" type="button">Wiederholen erlauben</button>
<button hx-post="/allow-retry/{{.BriefingID}}/{{.Login}}/" hx-swap="delete" type="button">Wiederholen erlauben</button>
{{end}}
{{define "participant"}}
@ -40,7 +40,7 @@
{{end}}
{{define "content"}}
<button hx-post="/briefing-done/{{.SessionID}}/" hx-target="#content" type="button">Beenden</button>
<button hx-post="/briefing-done/{{.BriefingID}}/" hx-target="#content" type="button">Beenden</button>
{{range .ParticipantsData}}
{{template "participant" .}}
{{end}}