aboutsummaryrefslogtreecommitdiff
path: root/template/assemblies
diff options
context:
space:
mode:
authordedeibel2018-12-28 21:39:16 +0100
committerdedeibel2018-12-28 21:39:16 +0100
commitddb812a97654b341da2d35d4695f970b3b555dcb (patch)
treebb221e3557c7f96154057377e44e5f60e80d56b8 /template/assemblies
parent7c6f41c8e802b582a566a6b0f484dbf91300a1a5 (diff)
Mark optouts in schedule view as optout / no stream
Diffstat (limited to '')
-rw-r--r--template/assemblies/schedule.phtml6
1 files changed, 3 insertions, 3 deletions
diff --git a/template/assemblies/schedule.phtml b/template/assemblies/schedule.phtml
index 461353c..4a737da 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'): ?>
@@ -49,7 +49,7 @@
<?=h($scheduleRoom ? $scheduleRoom->getDisplay() : $roomname) ?>
</h4>
<h3>
- <?=h($event['title'])?>
+ <?=h($event['title'])?><? if (@$event['optout']): ?><i> (no stream)</i><? endif ?>
</h3>
<? if($event['speaker']): ?>
<h5>by&nbsp;<?=h($event['speaker'])?></h5>