diff --git a/application/controllers/GroupController.php b/application/controllers/GroupController.php index 3f14b2090..21fba5ebb 100644 --- a/application/controllers/GroupController.php +++ b/application/controllers/GroupController.php @@ -44,7 +44,7 @@ class GroupController extends AuthBackendController 'backend', array( 'autosubmit' => true, - 'label' => $this->translate('Usergroup Backend'), + 'label' => $this->translate('User Group Backend'), 'multiOptions' => array_combine($backendNames, $backendNames), 'value' => $this->params->get('backend') ) @@ -66,7 +66,7 @@ class GroupController extends AuthBackendController $this->setupLimitControl(); $this->setupSortControl( array( - 'group_name' => $this->translate('Group'), + 'group_name' => $this->translate('User Group'), 'created_at' => $this->translate('Created at'), 'last_modified' => $this->translate('Last modified') ), diff --git a/application/views/scripts/group/list.phtml b/application/views/scripts/group/list.phtml index 01bf3f7dd..b2bc9b920 100644 --- a/application/views/scripts/group/list.phtml +++ b/application/views/scripts/group/list.phtml @@ -4,30 +4,24 @@ use Icinga\Data\Extensible; use Icinga\Data\Reducible; if (! $this->compact): ?> -
= $this->translate('Group'); ?> | - -= $this->translate('Remove'); ?> | - -
---|---|
= $this->qlink($group->group_name, 'group/show', array( - 'backend' => $backend->getName(), - 'group' => $group->group_name - ), array( - 'title' => sprintf($this->translate('Show detailed information for group %s'), $group->group_name) - )); ?> | - -- = $this->qlink( - null, - 'group/remove', - array( - 'backend' => $backend->getName(), - 'group' => $group->group_name - ), - array( - 'title' => sprintf($this->translate('Remove group %s'), $group->group_name), - 'icon' => 'trash' - ) - ); ?> - | - -
= $this->translate('No groups found matching the filter'); ?>
- +hasResult()): ?> += $this->translate('No user groups found matching the filter'); ?>
= $this->translate('User Group'); ?> | + += $this->translate('Remove'); ?> | + +
---|---|
+ = $this->qlink( + $group->group_name, + 'group/show', + array( + 'backend' => $backend->getName(), + 'group' => $group->group_name + ), + array( + 'title' => sprintf( + $this->translate('Show detailed information for user group %s'), + $group->group_name + ) + ) + ); ?> + | + ++ = $this->qlink( + null, + 'group/remove', + array( + 'backend' => $backend->getName(), + 'group' => $group->group_name + ), + array( + 'title' => sprintf($this->translate('Remove user group %s'), $group->group_name), + 'icon' => 'trash' + ) + ); ?> + | + +