diff options
author | dedeibel | 2018-12-30 15:46:21 +0100 |
---|---|---|
committer | dedeibel | 2018-12-30 15:46:21 +0100 |
commit | 221c7ff3a705c0dd642480686074270a62094ec1 (patch) | |
tree | 5893d92f98c182336c1c01bcdf1ae42387b9c057 /template | |
parent | 796904e432105732c6c2a7d5533ed2afb5060fd0 (diff) |
Added short display name feature for longer rooms / schedule and mobile view
Diffstat (limited to '')
-rw-r--r-- | template/assemblies/schedule.phtml | 2 | ||||
-rw-r--r-- | template/overview.phtml | 5 |
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']))?> in - <?=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 ?> |