Anpassung Notification Dot, 1 Platz frei (Text

This commit is contained in:
oswaldsimona committed 2026-04-30 12:21:11 +02:00
1 parent b421a23adc
commit bcd55c1e22
2 files changed
+4 -3

No files matched your search

+2 -1
View File
@@ -514,7 +514,8 @@
if (isCanceled) {
sideInfoMarkup = '<span class="button-plaetze">Event abgesagt</span>';
} else if (!isRegistrationClosed) {
sideInfoMarkup = `<span class="button-plaetze${isFull ? ' event-spots-full' : ''}">${isFull ? 'Ausgebucht' : `${freePlaces} Plätze frei`}</span>`;
const spotLabel = freePlaces === 1 ? 'Platz frei' : 'Plätze frei';
sideInfoMarkup = `<span class="button-plaetze${isFull ? ' event-spots-full' : ''}">${isFull ? 'Ausgebucht' : `${freePlaces} ${spotLabel}`}</span>`;
}
card.innerHTML = `