mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-23 13:54:26 +02:00
UserGroupForm: Notify the user that memberships will be cleared...
...when removing a group. refs #8826
This commit is contained in:
parent
89311f96df
commit
4bd36bc500
@ -59,6 +59,10 @@ class UserGroupForm extends RepositoryForm
|
|||||||
protected function createDeleteElements(array $formData)
|
protected function createDeleteElements(array $formData)
|
||||||
{
|
{
|
||||||
$this->setTitle(sprintf($this->translate('Remove group %s?'), $this->getIdentifier()));
|
$this->setTitle(sprintf($this->translate('Remove group %s?'), $this->getIdentifier()));
|
||||||
|
$this->addDescription($this->translate(
|
||||||
|
'Note that all users that are currently a member of this group will'
|
||||||
|
. ' have their membership cleared automatically.'
|
||||||
|
));
|
||||||
$this->setSubmitLabel($this->translate('Yes'));
|
$this->setSubmitLabel($this->translate('Yes'));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user