Only display header when not in compact mode

fixes #6508
This commit is contained in:
Matthias Jentsch 2014-07-04 12:18:08 +02:00
parent 0d4166b1bd
commit d2098be625
2 changed files with 23 additions and 17 deletions

View File

@ -1,3 +1,5 @@
<?php if (!$this->compact): ?>
<div class="controls"> <div class="controls">
<?= $this->tabs->render($this); ?> <?= $this->tabs->render($this); ?>
<div style="margin: 1em" class="dontprint"> <div style="margin: 1em" class="dontprint">
@ -5,6 +7,7 @@
</div> </div>
<?= $this->paginationControl($history, null, null, array('preserve' => $this->preserve)); ?> <?= $this->paginationControl($history, null, null, array('preserve' => $this->preserve)); ?>
</div> </div>
<?php endif; ?>
<div class="content"> <div class="content">
<?php if (empty($history)): ?> <?php if (empty($history)): ?>

View File

@ -1,3 +1,5 @@
<?php if (!$this->compact): ?>
<div class="controls"> <div class="controls">
<?= $this->tabs ?> <?= $this->tabs ?>
<div class="dontprint"> <div class="dontprint">
@ -8,6 +10,7 @@
<?php if ($notifications->count() >= 100): ?><br /><?php endif ?> <?php if ($notifications->count() >= 100): ?><br /><?php endif ?>
<?= $this->paginationControl($notifications, null, null, array('preserve' => $this->preserve)) ?> <?= $this->paginationControl($notifications, null, null, array('preserve' => $this->preserve)) ?>
</div> </div>
<?php endif ?>
<div class="content"> <div class="content">
<?php <?php