Compare commits

..

No commits in common. "main" and "css-main" have entirely different histories.

2 changed files with 3 additions and 4 deletions

View File

@ -689,9 +689,9 @@ label {
right: -2px;
width: 12px;
height: 12px;
background-color: var(--blue);
background-color: var(--error);
border-radius: 50%;
border: 1.5px solid var(--butter-light);
border: 2px solid var(--butter-light);
z-index: 10;
}

View File

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