Merge branch 'master' into feature/ldap-user-group-backend-7343

This commit is contained in:
Johannes Meyer 2015-06-05 16:26:43 +02:00
commit 3b8ab42baf
1 changed files with 4 additions and 4 deletions

View File

@ -1,8 +1,8 @@
<div class="content">
<?php foreach (/** @var \Icinga\Module\Doc\Renderer\DocSearchRenderer[] $searches */ $searches as $title => $search): ?>
<?php if (! $search->isEmpty()): ?>
<h1><?= $this->escape($title) ?></h1>
<?= $search ?>
<?php endif ?>
<h2><?= $this->escape($title) ?></h2>
<?= $search->isEmpty()
? $this->translate('No documentation found matching the filter')
: $search ?>
<?php endforeach ?>
</div>