aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configs/conferences/fossgis2019/config.php2
-rw-r--r--template/assemblies/schedule.phtml17
2 files changed, 10 insertions, 9 deletions
diff --git a/configs/conferences/fossgis2019/config.php b/configs/conferences/fossgis2019/config.php
index 0147bcf..8dff72c 100644
--- a/configs/conferences/fossgis2019/config.php
+++ b/configs/conferences/fossgis2019/config.php
@@ -231,7 +231,7 @@ $CONFIG['SCHEDULE'] = array(
/**
* Skalierung der Programm-Vorschau in Sekunden pro Pixel
*/
- 'SCALE' => 6,
+ 'SCALE' => 4,
/**
* Simuliere das Verhalten als wäre die Konferenz bereits heute
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']))): ?>