diff options
Diffstat (limited to 'template/assemblies')
-rw-r--r-- | template/assemblies/schedule.phtml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/template/assemblies/schedule.phtml b/template/assemblies/schedule.phtml index 90ec1b9..ad58ce7 100644 --- a/template/assemblies/schedule.phtml +++ b/template/assemblies/schedule.phtml @@ -3,7 +3,7 @@ <div class="now"><span>now</span></div> <? $rooms = $schedule->getSchedule() ?> <? foreach($rooms as $roomname => $events): ?> - <div class="room <? if(isset($room) && $roomname == $room->getSlug()): ?>highlight<? endif ?>" style="width: <?=round($schedule->getDurationSum() / $schedule->getScale())?>px"> + <div class="room <? if(isset($room) && $roomname == $room->getScheduleName()): ?>highlight<? endif ?>" style="width: <?=round($schedule->getDurationSum() / $schedule->getScale())?>px"> <? $fromstart = 0; ?> <? foreach($events as $event): ?> <div |