doc: show full tabs if any

This commit is contained in:
Thomas Gelf 2015-11-13 11:19:00 +01:00
parent d1bb8747b5
commit 4ce131e9ec
2 changed files with 3 additions and 2 deletions

View File

@ -1,5 +1,5 @@
<div class="controls">
<?= /** @var \Icinga\Web\Widget\Tabs $tabs */ $tabs->showOnlyCloseButton() ?>
<?= $this->tabs ?>
</div>
<div class="content">
<?= /** @var \Icinga\Module\Doc\Renderer\DocSectionRenderer $section */ $section ?>

View File

@ -1,7 +1,8 @@
<div class="controls">
<?= /** @var \Icinga\Web\Widget\Tabs $tabs */ $tabs->showOnlyCloseButton(); ?>
<?= $this->tabs ?>
<h1><?= $this->translate('Module documentations'); ?></h1>
</div>
<div class="content">
<ul>
<?php foreach ($modules as $module): /** @var \Icinga\Application\Modules\Module $module */ ?>