aboutsummaryrefslogtreecommitdiff
path: root/template/assemblies/schedule.phtml
diff options
context:
space:
mode:
Diffstat (limited to 'template/assemblies/schedule.phtml')
-rw-r--r--template/assemblies/schedule.phtml10
1 files changed, 5 insertions, 5 deletions
diff --git a/template/assemblies/schedule.phtml b/template/assemblies/schedule.phtml
index 461353c..a519c23 100644
--- a/template/assemblies/schedule.phtml
+++ b/template/assemblies/schedule.phtml
@@ -8,7 +8,7 @@
<? $fromstart = 0; ?>
<? foreach($events as $event): ?>
<div
- class="block <?=h(@$event['special'] ?: 'event')?>"
+ class="block <?=h(@$event['special'] ?: 'event')?> <?=h((@$event['optout']) ? 'optout' : '')?>"
style="width: <?=h(round($event['duration'] / $schedule->getScale()))?>px; left: <?=h(round($fromstart / $schedule->getScale()))?>px"
data-start="<?=intval($event['start'])?>"
data-end="<?=intval($event['end'])?>"
@@ -30,7 +30,7 @@
<? if(@$event['special'] == 'daychange'): ?>
- <h3><?=h($event['title'])?></h3>
+ <h3><?=h($event['title'])?></h3>
<? elseif(@$event['special'] == 'gap'): ?>
@@ -46,12 +46,12 @@
&ndash;
<?=h(strftime('%H:%M', $event['end']))?>
&nbsp;in&nbsp;
- <?=h($scheduleRoom ? $scheduleRoom->getDisplay() : $roomname) ?>
+ <?=h($scheduleRoom ? $scheduleRoom->getDisplayShort() : $roomname) ?>
</h4>
<h3>
- <?=h($event['title'])?>
+ <?=h($event['title'])?><? if (@$event['optout']): ?><i> (no stream)</i><? endif ?>
</h3>
- <? if($event['speaker']): ?>
+ <? if(! empty(trim($event['speaker']))): ?>
<h5>by&nbsp;<?=h($event['speaker'])?></h5>
<? endif ?>
<? endif ?>