Issue 1012
Past events still show a register button
Back to our planDone
bugfrontendpriority: medium
Problem
In plain words: an event that is over still shows its "Register for This Event" button, and its text still speaks in the future tense, so a neighbor can try to sign up for something that already happened. Found by the copy audit on #1003 on four past events.
Proposed fix
- Hide the register button once an event is past (the events module already knows what "upcoming" means).
- Show a short "This event has passed" line in its place.
- The wording of each old event stays as written: a page-level cue is enough, and rewriting history by hand does not scale.
Acceptance criteria
- Not done: A past event page has no register button and says it has passed; an upcoming one is unchanged.
- Not done: Tests first, using the module's existing rule for "upcoming".
- Not done: The events note describes the behavior.
Files likely touched
src/modules/events/ui/, src/modules/events/domain/, src/modules/events/README.md
Must not touch
None
Area
frontend
Priority
medium
Generated by Claude Code, opens in a new tab