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