aboutsummaryrefslogtreecommitdiff
path: root/template
diff options
context:
space:
mode:
authordedeibel2018-12-30 15:46:21 +0100
committerdedeibel2018-12-30 15:46:21 +0100
commit221c7ff3a705c0dd642480686074270a62094ec1 (patch)
tree5893d92f98c182336c1c01bcdf1ae42387b9c057 /template
parent796904e432105732c6c2a7d5533ed2afb5060fd0 (diff)
Added short display name feature for longer rooms / schedule and mobile view
Diffstat (limited to '')
-rw-r--r--template/assemblies/schedule.phtml2
-rw-r--r--template/overview.phtml5
2 files changed, 4 insertions, 3 deletions
diff --git a/template/assemblies/schedule.phtml b/template/assemblies/schedule.phtml
index f160721..a519c23 100644
--- a/template/assemblies/schedule.phtml
+++ b/template/assemblies/schedule.phtml
@@ -46,7 +46,7 @@
–
<?=h(strftime('%H:%M', $event['end']))?>
&nbsp;in&nbsp;
- <?=h($scheduleRoom ? $scheduleRoom->getDisplay() : $roomname) ?>
+ <?=h($scheduleRoom ? $scheduleRoom->getDisplayShort() : $roomname) ?>
</h4>
<h3>
<?=h($event['title'])?><? if (@$event['optout']): ?><i> (no stream)</i><? endif ?>
diff --git a/template/overview.phtml b/template/overview.phtml
index e441112..d2f3c20 100644
--- a/template/overview.phtml
+++ b/template/overview.phtml
@@ -56,7 +56,8 @@
<div class="panel panel-default">
<div class="panel-heading">
<div class="panel-title">
- <?=h($room->getDisplay())?>
+ <span class="roomtitle regular"><?=h($room->getDisplay())?></span>
+ <span class="roomtitle short"><?=h($room->getDisplayShort())?></span>
</div>
</div>
@@ -72,7 +73,7 @@
<? else: ?>
- <h2><?=h($room->getDisplay())?></h2>
+ <h2><?=h($room->getDisplay())?></h2>
<? endif ?>