Fix markup in role/list

refs #5543
This commit is contained in:
Eric Lippmann 2015-09-30 11:37:21 +02:00
parent d5c82a6c82
commit 0af652bd56

View File

@ -12,10 +12,9 @@
'title' => $this->translate('Create a new role')
)
) ?>
<div>
<?php /** @var \Icinga\Application\Config $roles */ if ($roles->isEmpty()): ?>
<?= $this->translate('No roles found.') ?>
<?php else: ?>
<p><?= $this->translate('No roles found.') ?></p>
<?php return; endif ?>
<table class="action-table listing-table" data-base-target="_next">
<thead>
<tr>
@ -76,6 +75,4 @@
<?php endforeach ?>
</tbody>
</table>
<?php endif ?>
</div>
</div>