aboutsummaryrefslogtreecommitdiff
path: root/template/assemblies
diff options
context:
space:
mode:
authorderchris2019-04-21 17:23:05 +0200
committerderchris2019-04-21 17:23:05 +0200
commit34291fa240ea12d2b04ba5741d61b062a67d081f (patch)
tree19dd2d2a19a03e8154a136af855a46aa13dea21c /template/assemblies
parentfd72b0f50a355006069c5a336441f08beb7d3c50 (diff)
parent9e9e444e052b9cd887d8d5fbda51b40ad2eafcfa (diff)
Merge branch 'master' of git.c3voc.de:streaming-website
Diffstat (limited to 'template/assemblies')
-rw-r--r--template/assemblies/schedule.phtml17
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']))?>
- &ndash;
- <?=h(strftime('%H:%M', $event['end']))?>
- &nbsp;in&nbsp;
- <?=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']))?>
+ &ndash;
+ <?=h(strftime('%H:%M', $event['end']))?>
+ &nbsp;in&nbsp;
+ <?=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']))): ?>