Anpassung Notification Dot, 1 Platz frei (Text
This commit is contained in:
1 parent
b421a23adc
commit
bcd55c1e22
2 files changed
+4
-3
No files matched your search
@@ -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 = `
|
||||
|
||||
Reference in new issue
Block a user