{{define "slots-inner"}}
What's needed
{{range .Slots}}
{{.Slot.Emoji}} {{.Slot.Name}}
{{if .Claims}} {{range .Claims}} {{.Name}}{{if .Note}} ({{.Note}}){{end}} {{end}} {{else}} nobody yet {{end}}
{{.ClaimCount}} / {{.Slot.MaxClaims}}{{if .IsFull}} ✓{{end}}
{{end}}
Going ({{.TotalGoing}}{{if .Capped}} / {{.Event.AttendeeCap}}{{end}})
{{if .GoingList}} {{range .GoingList}} {{if and (gt .RsvpID 0) $.CanEditRsvps}}{{.Name}}{{else}}{{.Name}}{{end}}{{if gt .PlusOne 0}} +{{.PlusOne}}{{end}}{{if .Note}} ({{.Note}}){{end}} {{if and (gt .RsvpID 0) $.CanEditRsvps}} {{end}} {{end}} {{else}} no one yet {{end}}
{{if .NotGoingList}}
Can't make it ({{len .NotGoingList}})
{{range .NotGoingList}} {{if $.CanEditRsvps}}{{.Name}}{{else}}{{.Name}}{{end}}{{if .Note}} ({{.Note}}){{end}} {{if $.CanEditRsvps}} {{end}} {{end}}
{{end}} {{end}} {{define "slots.html"}}{{template "slots-inner" .}}{{end}}