if (!$collection->isEmpty()) : ?>
foreach ($collection->getRegularDates() as $regular_date) : ?>
-
= $regular_date->toString($with_room_names ? 'long-start' : 'long-start-without-room', true) ?>
endforeach ?>
foreach ($collection->getSingleDates() as $single_date) : ?>
-
= htmlReady($single_date->getFullName('long')) ?>
if ($with_room_names): ?>
$rooms = $single_date->getRooms() ?>
if ($rooms): ?>
foreach ($rooms as $room): ?>
= htmlReady($room->name) ?>
endforeach ?>
else: ?>
= htmlReady($single_date->raum) ?>
endif ?>
endif ?>
endforeach ?>
if ($with_cancelled_dates) : ?>
foreach ($collection->getCancelledDates() as $cancelled_date) : ?>
-
= htmlReady($cancelled_date->getFullName()) ?>
endforeach ?>
endif ?>
endif ?>