diff options
author | MaZderMind | 2015-04-01 20:54:08 +0200 |
---|---|---|
committer | MaZderMind | 2015-04-01 20:54:08 +0200 |
commit | 7428fbab25ed89d3f1189e1e1117abf1fb86a6ec (patch) | |
tree | 4ff86e9ea0345cbd0210f93bdf6fd235b9982525 | |
parent | 811f757b961af04cf8042316690fabb25216151e (diff) |
Hide Group-Headline when no Title is specified
Diffstat (limited to '')
-rw-r--r-- | template/overview.phtml | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/template/overview.phtml b/template/overview.phtml index 8e26423..ef40c63 100644 --- a/template/overview.phtml +++ b/template/overview.phtml @@ -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): ?> |