mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-27 07:44:04 +02:00
user/show.phtml: Fix presentation and behaviour of the membership link
* Removed base target _next, _self feels more natural * Removed obsolete link title, it has already a sufficient label * Restored previous link label, we're using the term membership everywhere else, so why should we make an exception here? refs #10367
This commit is contained in:
parent
f6e5fac23e
commit
4d5fde768a
@ -54,17 +54,15 @@ if ($this->hasPermission('config/authentication/users/edit') && $backend instanc
|
|||||||
<div class="content memberships">
|
<div class="content memberships">
|
||||||
<?php if ($showCreateMembershipLink): ?>
|
<?php if ($showCreateMembershipLink): ?>
|
||||||
<?= $this->qlink(
|
<?= $this->qlink(
|
||||||
$this->translate('Add User to Group') ,
|
$this->translate('Create New Membership') ,
|
||||||
'user/createmembership',
|
'user/createmembership',
|
||||||
array(
|
array(
|
||||||
'backend' => $backend->getName(),
|
'backend' => $backend->getName(),
|
||||||
'user' => $user->user_name
|
'user' => $user->user_name
|
||||||
),
|
),
|
||||||
array(
|
array(
|
||||||
'class' => 'button-link',
|
'icon' => 'plus',
|
||||||
'data-base-target' => '_next',
|
'class' => 'button-link'
|
||||||
'icon' => 'plus',
|
|
||||||
'title' => $this->translate('Add user to user group')
|
|
||||||
)
|
)
|
||||||
) ?>
|
) ?>
|
||||||
<?php endif ?>
|
<?php endif ?>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user