[icinga-checkins] icinga.org: icingaweb2/master: Roles: Speak of 'roles' not 'permissions'

git at icinga.org git at icinga.org
Tue Nov 25 16:11:24 CET 2014


Module: icingaweb2
Branch: master
Commit: 9aa2f6f5553a465b78ece7bb3d525de8522471b4
URL:    https://git.icinga.org/?p=icingaweb2.git;a=commit;h=9aa2f6f5553a465b78ece7bb3d525de8522471b4

Author: Eric Lippmann <eric.lippmann at netways.de>
Date:   Tue Nov 25 16:10:00 2014 +0100

Roles: Speak of 'roles' not 'permissions'

---

 application/views/scripts/roles/index.phtml |   10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/application/views/scripts/roles/index.phtml b/application/views/scripts/roles/index.phtml
index 3dd11cc..8a49251 100644
--- a/application/views/scripts/roles/index.phtml
+++ b/application/views/scripts/roles/index.phtml
@@ -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>



More information about the icinga-checkins mailing list