diff options
Diffstat (limited to 'template')
-rw-r--r-- | template/assemblies/schedule.phtml | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/template/assemblies/schedule.phtml b/template/assemblies/schedule.phtml index a519c23..fe0ccbb 100644 --- a/template/assemblies/schedule.phtml +++ b/template/assemblies/schedule.phtml @@ -41,14 +41,15 @@ <h3><?=h($event['title'])?></h3> <? else: ?> - - <h4><?=h(strftime('%H:%M', $event['start']))?> - – - <?=h(strftime('%H:%M', $event['end']))?> - in - <?=h($scheduleRoom ? $scheduleRoom->getDisplayShort() : $roomname) ?> - </h4> - <h3> + <? if($event['duration'] > 10*60): /* only display when event is longer as 10 minutes */ ?> + <h4><?=h(strftime('%H:%M', $event['start']))?> + – + <?=h(strftime('%H:%M', $event['end']))?> + in + <?=h($scheduleRoom ? $scheduleRoom->getDisplayShort() : $roomname) ?> + </h4> + <? endif ?> + <h3 title="<?=$event['title']?>"> <?=h($event['title'])?><? if (@$event['optout']): ?><i> (no stream)</i><? endif ?> </h3> <? if(! empty(trim($event['speaker']))): ?> |