objects/table: look better on no objects

This commit is contained in:
Thomas Gelf 2015-12-18 10:54:31 +01:00
parent c0206ca2c7
commit 59c17a5ddf
1 changed files with 4 additions and 0 deletions

View File

@ -4,10 +4,14 @@
<span data-base-target="_next">
<?= $this->addLink ?>
</span>
<?php if (count($table) || ! $this->filterEditor->getFilter()->isEmpty()): ?>
<?= $this->filterEditor ?>
<?php endif ?>
<?= $this->table->getPaginator() ?>
</div>
<div class="content" data-base-target="_next">
<?php if (count($table)): ?>
<?= $this->table->render() ?>
<?php endif ?>
</div>