Add closed/past/inactive status badges to user dashboard event titles

Adds an EventStatusBadge component shown next to every event title on
the dashboard (registrations list, upcoming events, tickets, and the
registration modal), with precedence Closed > Past > Inactive when
more than one applies — reusing the badge styling already established
in the supervisor events list.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
2026-07-23 16:56:32 +02:00
parent 349686e182
commit 91b352de18
2 changed files with 34 additions and 3 deletions
+4
View File
@@ -12,6 +12,10 @@ and this project follows [Semantic Versioning](https://semver.org/).
- User dashboard: registration-edit errors now show inside the edit popup instead of being hidden behind it.
- User dashboard: closed events are now hidden by default alongside past events (revealed via "Show past events"), and the Edit, Make payment, and Cancel registration actions no longer appear for closed or past registrations (also enforced server-side).
### Added
- User dashboard: event titles now show a status badge (Closed / Past / Inactive, in that precedence) wherever they're listed.
## [1.0.0] - 2026-07-23
### Added