aboutsummaryrefslogtreecommitdiff
path: root/template
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--template/overview.phtml50
1 files changed, 22 insertions, 28 deletions
diff --git a/template/overview.phtml b/template/overview.phtml
index bbb9568..3332fb9 100644
--- a/template/overview.phtml
+++ b/template/overview.phtml
@@ -44,49 +44,43 @@
<? endif ?>
">
- <div class="panel panel-default">
- <div class="panel-heading">
- <div class="panel-title">
- <a href="<?=h($room->getLink())?>">
+ <a href="<?=h($room->getLink())?>">
+ <div class="panel panel-default">
+ <div class="panel-heading">
+ <div class="panel-title">
<?=h($room->getDisplay())?>
- </a>
+ </div>
</div>
- </div>
- <div class="panel-body">
- <? if($room->hasPreview()): ?>
+ <div class="panel-body">
+ <? if($room->hasPreview()): ?>
- <a href="<?=h($room->getLink())?>">
<img
class="preview"
src="<?=h($room->getThumb())?>"
alt="<?=h($room->getDisplay())?>"
width="213" height="120"
/>
- </a>
- <? endif ?>
+ <? endif ?>
- <a href="<?=h($room->getLink())?>" class="title">
- <?=h($room->getDisplay())?>
- </a>
+ <? if($room->hasSchedule()): ?>
+ <? $upcoming = @$upcomingTalksPerRoom[ $room->getScheduleName() ] ?: [] ?>
+ <div class="program-schedule">
+ <div class="talk current-talk" title="<?=h(@$upcoming['current']['title'] ?: 'none') ?>">
+ <strong>Now:</strong>
+ <span class="t"><?=h(@$upcoming['current']['title'] ?: 'none') ?></span>
+ </div>
- <? if($room->hasSchedule()): ?>
- <? $upcoming = @$upcomingTalksPerRoom[ $room->getScheduleName() ] ?: [] ?>
- <div class="program-schedule">
- <div class="talk current-talk">
- <strong>Now:</strong>
- <span class="t"><?=h(@$upcoming['current']['title'] ?: 'none') ?></span>
+ <div class="talk next-talk" title="<?=h(@$upcoming['next']['title'] ?: 'none') ?>">
+ <strong>Next Talk:</strong>
+ <span class="t"><?=h(@$upcoming['next']['title'] ?: 'none') ?></span>
+ </div>
</div>
-
- <div class="talk next-talk">
- <strong>Next Talk:</strong>
- <span class="t"><?=h(@$upcoming['next']['title'] ?: 'none') ?></span>
- </div>
- </div>
- <? endif ?>
+ <? endif ?>
+ </div>
</div>
- </div>
+ </a>
</div>
<? $idx++ ?>
<? endforeach ?>