aboutsummaryrefslogtreecommitdiff
path: root/template/assemblies
diff options
context:
space:
mode:
authorMaZderMind2016-08-21 12:16:00 +0200
committerMaZderMind2016-08-21 12:16:09 +0200
commitdb7eaa38223393a78690800d5b2ce38f2e9f5c7a (patch)
tree13ea014fba95c5fab9469c28a9d0c6da909ee176 /template/assemblies
parentcd5e49d5fbe649b2b079e295cde0ae32f013f592 (diff)
fullscreen schedule view
Diffstat (limited to 'template/assemblies')
-rw-r--r--template/assemblies/schedule.phtml2
1 files changed, 1 insertions, 1 deletions
diff --git a/template/assemblies/schedule.phtml b/template/assemblies/schedule.phtml
index f913b64..b804196 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($roomname == $room->getSlug()): ?>highlight<? endif ?>" style="width: <?=round($schedule->getDurationSum() / $schedule->getScale())?>px">
+ <div class="room <? if(isset($room) && $roomname == $room->getSlug()): ?>highlight<? endif ?>" style="width: <?=round($schedule->getDurationSum() / $schedule->getScale())?>px">
<? $fromstart = 0; ?>
<? foreach($events as $event): ?>
<div