Anpassung Notification Dot, 1 Platz frei (Text
This commit is contained in:
parent
b421a23adc
commit
bcd55c1e22
@ -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;
|
||||
}
|
||||
|
||||
|
||||
@ -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 = `
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user