dashboard: add compact support

This commit is contained in:
Thomas Gelf 2015-06-18 13:17:54 +02:00
parent 1f5db2f8c1
commit 1e61f55210

View File

@ -1,5 +1,7 @@
<div class="controls"> <div class="controls">
<?php if (! $this->compact): ?>
<?= $this->tabs ?> <?= $this->tabs ?>
<?php endif ?>
</div> </div>
<?php if ($this->dashboard): ?> <?php if ($this->dashboard): ?>
<div class="dashboard content"> <div class="dashboard content">
@ -15,4 +17,4 @@
) ?> ) ?>
</p> </p>
</div> </div>
<?php endif ?> <?php endif ?>