Include slot claimers in the Going list

The Going section now shows both RSVPs and people who claimed slots,
deduplicated by name (case-insensitive). Claim-only people don't get a
remove button—they unclaim from the slot card instead.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-05-17 08:12:09 -04:00
parent 7b0efb3c45
commit b3203a7506
2 changed files with 28 additions and 4 deletions
+6 -4
View File
@@ -32,17 +32,19 @@
{{end}}
</div>
<div class="section-label">Going ({{len .Rsvps}})</div>
<div class="section-label">Going ({{.TotalGoing}})</div>
<div class="rsvp-list">
{{if .Rsvps}}
{{range .Rsvps}}
{{if .GoingList}}
{{range .GoingList}}
<span class="claim-chip">
{{.Name}}{{if .Note}} <small style="color:#888">({{.Note}})</small>{{end}}
<button hx-delete="/e/{{$.Event.Slug}}/rsvp/{{.ID}}"
{{if gt .RsvpID 0}}
<button hx-delete="/e/{{$.Event.Slug}}/rsvp/{{.RsvpID}}"
hx-target="#slots-container"
hx-swap="innerHTML settle:0.1s"
hx-confirm="Remove {{.Name}}?"
title="Remove">&#215;</button>
{{end}}
</span>
{{end}}
{{else}}