mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-28 16:24:05 +02:00
SyncForms: restore notifications on "no change"
This commit is contained in:
parent
9c9a5b5b93
commit
9cdfc3d3be
@ -54,7 +54,7 @@ class SyncCheckForm extends DirectorForm
|
|||||||
|
|
||||||
$this->addHtml($html);
|
$this->addHtml($html);
|
||||||
} elseif ($this->rule->get('sync_state') === 'in-sync') {
|
} elseif ($this->rule->get('sync_state') === 'in-sync') {
|
||||||
$this->setSuccessMessage(
|
$this->notifySuccess(
|
||||||
$this->translate('Nothing would change, this rule is still in sync')
|
$this->translate('Nothing would change, this rule is still in sync')
|
||||||
);
|
);
|
||||||
} else {
|
} else {
|
||||||
|
@ -35,7 +35,7 @@ class SyncRunForm extends DirectorForm
|
|||||||
$this->translate(('Source has successfully been synchronized'))
|
$this->translate(('Source has successfully been synchronized'))
|
||||||
);
|
);
|
||||||
} elseif ($rule->get('sync_state') === 'in-sync') {
|
} elseif ($rule->get('sync_state') === 'in-sync') {
|
||||||
$this->setSuccessMessage(
|
$this->notifySuccess(
|
||||||
$this->translate('Nothing changed, rule is in sync')
|
$this->translate('Nothing changed, rule is in sync')
|
||||||
);
|
);
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user