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
1 changed files with 8 additions and 6 deletions

View File

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