Skip to content

Commit

Permalink
doc: show full tabs if any
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas-Gelf committed Nov 13, 2015
1 parent d1bb874 commit 4ce131e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion modules/doc/application/views/scripts/chapter.phtml
@@ -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 ?>
Expand Down
3 changes: 2 additions & 1 deletion modules/doc/application/views/scripts/module/index.phtml
@@ -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 */ ?>
Expand Down

0 comments on commit 4ce131e

Please sign in to comment.