role|user|group: Open `Audit` tab always in `#col1` and close `#col2`

This commit is contained in:
Johannes Meyer 2021-03-22 16:34:51 +01:00
parent ab7d73a8ee
commit c203ffdd79
3 changed files with 12 additions and 9 deletions

View File

@ -385,9 +385,10 @@ class GroupController extends AuthBackendController
$tabs->add( $tabs->add(
'role/audit', 'role/audit',
[ [
'title' => $this->translate('Audit a user\'s or group\'s privileges'), 'title' => $this->translate('Audit a user\'s or group\'s privileges'),
'label' => $this->translate('Audit'), 'label' => $this->translate('Audit'),
'url' => 'role/audit' 'url' => 'role/audit',
'baseTarget' => '_main',
] ]
); );
} }

View File

@ -261,9 +261,10 @@ class RoleController extends AuthBackendController
$tabs->add( $tabs->add(
'role/audit', 'role/audit',
[ [
'title' => $this->translate('Audit a user\'s or group\'s privileges'), 'title' => $this->translate('Audit a user\'s or group\'s privileges'),
'label' => $this->translate('Audit'), 'label' => $this->translate('Audit'),
'url' => 'role/audit' 'url' => 'role/audit',
'baseTarget' => '_main'
] ]
); );

View File

@ -342,9 +342,10 @@ class UserController extends AuthBackendController
$tabs->add( $tabs->add(
'role/audit', 'role/audit',
[ [
'title' => $this->translate('Audit a user\'s or group\'s privileges'), 'title' => $this->translate('Audit a user\'s or group\'s privileges'),
'label' => $this->translate('Audit'), 'label' => $this->translate('Audit'),
'url' => 'role/audit' 'url' => 'role/audit',
'baseTarget' => '_main'
] ]
); );
} }