Commends: Add h1 to comments

refs #7976
This commit is contained in:
Marius Hein 2015-02-23 14:39:26 +01:00
parent b45897de22
commit cef20022b9

View File

@ -1,15 +1,14 @@
<?php if (false === $this->compact): ?> <?php if (false === $this->compact): ?>
<div class="controls"> <div class="controls">
<?= $this->tabs->render($this); ?> <?= $this->tabs ?>
<div style="margin: 1em" class="dontprint"> <?= $this->sortControl ?>
<?= $this->translate('Sort by'); ?> <?= $this->sortControl->render($this); ?>
</div>
<?= $this->widget('limiter', array('url' => $this->url, 'max' => $comments->count())); ?> <?= $this->widget('limiter', array('url' => $this->url, 'max' => $comments->count())); ?>
<?= $this->paginationControl($comments, null, null, array('preserve' => $this->preserve)); ?> <?= $this->paginationControl($comments, null, null, array('preserve' => $this->preserve)); ?>
</div> </div>
<?php endif ?> <?php endif ?>
<div class="content"> <div class="content">
<h1 tabindex="-1"><?= $this->translate('Comments') ?></h1>
<?php if (count($comments) === 0): ?> <?php if (count($comments) === 0): ?>
<?= $this->translate('No comments matching the filter'); ?> <?= $this->translate('No comments matching the filter'); ?>
</div> </div>