aboutsummaryrefslogtreecommitdiff
path: root/template/overview.phtml
diff options
context:
space:
mode:
Diffstat (limited to 'template/overview.phtml')
-rw-r--r--template/overview.phtml5
1 files changed, 3 insertions, 2 deletions
diff --git a/template/overview.phtml b/template/overview.phtml
index c23320e..39cca02 100644
--- a/template/overview.phtml
+++ b/template/overview.phtml
@@ -78,15 +78,16 @@
</a>
<? if($room->hasSchedule()): ?>
+ <? $upcoming = @$upcomingTalksPerRoom[ $room->getScheduleName() ] ?: [] ?>
<div class="program-schedule">
<div class="talk current-talk">
<strong>Now:</strong>
- <span class="t">none</span>
+ <span class="t"><?=h(@$upcoming['current']['title'] ?: 'none') ?></span>
</div>
<div class="talk next-talk">
<strong>Next Talk:</strong>
- <span class="t">none</span>
+ <span class="t"><?=h(@$upcoming['next']['title'] ?: 'none') ?></span>
</div>
</div>
<? endif ?>