feat(ui): add RSVP attendance option and admin features
* Implement attendance selection in RSVP form * Add admin endpoints for managing RSVPs and guests * Update RSVP handling to include attendance status
This commit is contained in:
+5
-1
@@ -69,7 +69,11 @@ func runRSVPCLI(st *store.Store, args []string) int {
|
||||
names[i] += " (child)"
|
||||
}
|
||||
}
|
||||
fmt.Printf("#%d %s %s\n", r.ID, r.CreatedAt.Local().Format("2006-01-02 15:04"), strings.Join(names, ", "))
|
||||
state := "attending"
|
||||
if !r.Attending {
|
||||
state = "NOT attending"
|
||||
}
|
||||
fmt.Printf("#%d %s [%s] %s\n", r.ID, r.CreatedAt.Local().Format("2006-01-02 15:04"), state, strings.Join(names, ", "))
|
||||
if r.Message != "" {
|
||||
fmt.Printf(" message: %s\n", r.Message)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user