Header: Add h1 to hostgroups

refs #7976
This commit is contained in:
Marius Hein 2015-02-23 14:57:26 +01:00
parent b6c05beaba
commit b8dbf9c809
1 changed files with 2 additions and 3 deletions

View File

@ -3,15 +3,14 @@
<?php else: ?> <?php else: ?>
<div class="controls"> <div class="controls">
<?= $this->tabs ?> <?= $this->tabs ?>
<div style="margin: 1em;" class="dontprint"> <?= $this->sortControl->render($this); ?>
<?= $this->translate('Sort by'); ?> <?= $this->sortControl->render($this); ?>
</div>
<?= $this->widget('limiter')->setMaxLimit(count($hostgroups)); ?> <?= $this->widget('limiter')->setMaxLimit(count($hostgroups)); ?>
<?= $this->paginationControl($hostgroups, null, null, array('preserve' => $this->preserve)); ?> <?= $this->paginationControl($hostgroups, null, null, array('preserve' => $this->preserve)); ?>
</div> </div>
<div class="content"> <div class="content">
<?= $this->filterEditor; ?> <?= $this->filterEditor; ?>
<?php endif ?> <?php endif ?>
<h1 tabindex="-1"><?= $this->translate('Host Groups') ?></h1>
<?php <?php
if (count($hostgroups) === 0) { if (count($hostgroups) === 0) {
echo $this->translate('No host groups matching the filter'); echo $this->translate('No host groups matching the filter');