From bcd55c1e22986f7766d16cefba18e576780bb089 Mon Sep 17 00:00:00 2001 From: oswaldsimona Date: Thu, 30 Apr 2026 12:21:11 +0200 Subject: [PATCH] Anpassung Notification Dot, 1 Platz frei (Text --- css/stylesheet_global.css | 4 ++-- js/event_overview.js | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/css/stylesheet_global.css b/css/stylesheet_global.css index 6e8b3bd..486187c 100644 --- a/css/stylesheet_global.css +++ b/css/stylesheet_global.css @@ -689,9 +689,9 @@ label { right: -2px; width: 12px; height: 12px; - background-color: var(--error); + background-color: var(--blue); border-radius: 50%; - border: 2px solid var(--butter-light); + border: 1.5px solid var(--butter-light); z-index: 10; } diff --git a/js/event_overview.js b/js/event_overview.js index 678eea6..c6a7f97 100644 --- a/js/event_overview.js +++ b/js/event_overview.js @@ -514,7 +514,8 @@ if (isCanceled) { sideInfoMarkup = 'Event abgesagt'; } else if (!isRegistrationClosed) { - sideInfoMarkup = `${isFull ? 'Ausgebucht' : `${freePlaces} Plätze frei`}`; + const spotLabel = freePlaces === 1 ? 'Platz frei' : 'Plätze frei'; + sideInfoMarkup = `${isFull ? 'Ausgebucht' : `${freePlaces} ${spotLabel}`}`; } card.innerHTML = `