Roles: Speak of 'roles' not 'permissions'
This commit is contained in:
parent
bc339e927b
commit
9aa2f6f555
|
@ -3,9 +3,9 @@
|
|||
</div>
|
||||
<div class="content">
|
||||
<div>
|
||||
<h1><?= $this->translate('Permissions') ?></h1>
|
||||
<h1><?= $this->translate('Roles') ?></h1>
|
||||
<?php /** @var \Icinga\Application\Config $roles */ if ($roles->isEmpty()): ?>
|
||||
<?= $this->translate('No permissions found.') ?>
|
||||
<?= $this->translate('No roles found.') ?>
|
||||
<?php else: ?>
|
||||
<table class="avp action" data-base-target="_next">
|
||||
<thead>
|
||||
|
@ -23,7 +23,7 @@
|
|||
<td>
|
||||
<?= $this->escape($name) ?>
|
||||
<div class="hidden">
|
||||
<a href="<?= $this->url('permissions/update', array('role' => $name)) ?>"></a>
|
||||
<a href="<?= $this->url('roles/update', array('role' => $name)) ?>"></a>
|
||||
</div>
|
||||
</td>
|
||||
<td><?= $this->escape($role->permissions, 0, 50) ?></td>
|
||||
|
@ -51,7 +51,7 @@
|
|||
<td><?= $this->escape($role->users) ?></td>
|
||||
<td><?= $this->escape($role->groups) ?></td>
|
||||
<td>
|
||||
<a href="<?= $this->url('permissions/remove', array('role' => $name)) ?>"
|
||||
<a href="<?= $this->url('roles/remove', array('role' => $name)) ?>"
|
||||
title="<?= $this->translate('Remove role') ?>">
|
||||
<?= $this->icon('cancel') ?>
|
||||
</a>
|
||||
|
@ -61,7 +61,7 @@
|
|||
</tbody>
|
||||
</table>
|
||||
<?php endif ?>
|
||||
<a data-base-target="_next" href="<?= $this->href('permissions/new') ?>">
|
||||
<a data-base-target="_next" href="<?= $this->href('roles/new') ?>">
|
||||
<?= $this->translate('New Role') ?>
|
||||
</a>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue