Tour pages: tour-date and fewseats shortcodes; one few-seats mark per card
All checks were successful
/ build (push) Successful in 1m53s
/ accessibility (push) Successful in 3m52s

tour-date formats one date in a tour page's list of dates from its
parameters: day and date, time, title, language, note, status (soldout,
fewseats), "Book now" button and calendar links. Hackertours-Admin can
write it instead of the formatted text. fewseats shows the badge for the
tour as a whole from params.fewseats, unless a date on the page already
says so. book and calendar keep working; their HTML moved to partials.

In the schedule, the tour badge is left out on dates with a status of
their own, so a card no longer says "few seats left" twice.
This commit is contained in:
Stefan Bethke 2026-11-16 10:23:15 +01:00
commit 47c4008dd4

View file

@ -2,6 +2,7 @@
@import './_schedule-40c3.css';
@import './_tour-map.css';
@import './_fewseats.css';
@import './_tour-date.css';
@import './_gallery.css';
@import './_events.css';
@ -522,7 +523,7 @@ span.content-image {
}
/* Square, like the language badges. */
.schedule__status--fewseats,
.fewseats-note,
.fewseats-badge {
border-radius: 0;
}