Header: Add h1 to contacts

refs #7976
This commit is contained in:
Marius Hein 2015-02-23 14:41:51 +01:00
parent cef20022b9
commit 37568a7832

View File

@ -1,12 +1,14 @@
<div class="controls"> <?php if (false === $this->compact): ?>
<?= $this->tabs ?> <div class="controls">
<div style="margin: 1em"> <?= $this->tabs ?>
<?= $this->sortControl->render($this); ?> <?= $this->sortControl ?>
<?= $this->widget('limiter', array('url' => $this->url, 'max' => $contacts->count())); ?>
<?= $this->paginationControl($contacts, null, null, array('preserve' => $this->preserve)); ?>
</div> </div>
<?= $this->paginationControl($contacts, null, null, array('preserve' => $this->preserve)); ?> <?php endif ?>
</div>
<div data-base-target="_next" class="content contacts"> <div data-base-target="_next" class="content contacts">
<h1 tabindex="-1"><?= $this->translate('Contacts') ?></h1>
<?php <?php
if (count($contacts) === 0) { if (count($contacts) === 0) {
echo mt('monitoring', 'No contacts matching the filter'); echo mt('monitoring', 'No contacts matching the filter');