Hide Group-Headline when no Title is specified

This commit is contained in:
MaZderMind 2015-04-01 20:54:08 +02:00
parent 811f757b96
commit 7428fbab25

View file

@ -9,9 +9,11 @@
<? foreach($overview->getGroups() as $group => $rooms): ?>
<div class="row room-group">
<div class="col-xs-12">
<h2><?=h($group)?></h2>
</div>
<? if($group): ?>
<div class="col-xs-12">
<h2><?=h($group)?></h2>
</div>
<? endif ?>
<? $count = count($rooms); ?>
<? foreach($rooms as $idx => $room): ?>