mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-27 07:44:04 +02:00
Add a few notifications
This commit is contained in:
parent
63caf15494
commit
b9a563cc03
@ -416,6 +416,7 @@ class Monitoring_CommandController extends ActionController
|
|||||||
|
|
||||||
if ($form->IsSubmittedAndValid() === true) {
|
if ($form->IsSubmittedAndValid() === true) {
|
||||||
$this->target->sendCommand($form->createCommand(), $this->view->objects);
|
$this->target->sendCommand($form->createCommand(), $this->view->objects);
|
||||||
|
Notification::success('Command has been sent, result should be visible soon');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -449,6 +450,7 @@ class Monitoring_CommandController extends ActionController
|
|||||||
|
|
||||||
if ($form->IsSubmittedAndValid() === true) {
|
if ($form->IsSubmittedAndValid() === true) {
|
||||||
$this->target->sendCommand($form->createCommand(), $this->view->objects);
|
$this->target->sendCommand($form->createCommand(), $this->view->objects);
|
||||||
|
Notification::success('Command has been sent, result should be visible soon');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -482,6 +484,7 @@ class Monitoring_CommandController extends ActionController
|
|||||||
|
|
||||||
if ($form->IsSubmittedAndValid() === true) {
|
if ($form->IsSubmittedAndValid() === true) {
|
||||||
$this->target->sendCommand($form->createCommand(), $this->view->objects);
|
$this->target->sendCommand($form->createCommand(), $this->view->objects);
|
||||||
|
Notification::success('Command has been sent, result should be visible soon');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -514,6 +517,7 @@ class Monitoring_CommandController extends ActionController
|
|||||||
|
|
||||||
if ($form->IsSubmittedAndValid() === true) {
|
if ($form->IsSubmittedAndValid() === true) {
|
||||||
$this->target->sendCommand($form->createCommand(), $this->view->objects);
|
$this->target->sendCommand($form->createCommand(), $this->view->objects);
|
||||||
|
Notification::success('Command has been sent, result should be visible soon');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -558,6 +562,7 @@ class Monitoring_CommandController extends ActionController
|
|||||||
|
|
||||||
if ($form->IsSubmittedAndValid() === true) {
|
if ($form->IsSubmittedAndValid() === true) {
|
||||||
$this->target->sendCommand($form->createCommand(), $this->view->objects);
|
$this->target->sendCommand($form->createCommand(), $this->view->objects);
|
||||||
|
Notification::success('Command has been sent, result should be visible soon');
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
@ -587,6 +592,7 @@ class Monitoring_CommandController extends ActionController
|
|||||||
|
|
||||||
if ($form->IsSubmittedAndValid() === true) {
|
if ($form->IsSubmittedAndValid() === true) {
|
||||||
$this->target->sendCommand($form->createCommand(), $this->view->objects);
|
$this->target->sendCommand($form->createCommand(), $this->view->objects);
|
||||||
|
Notification::success('Command has been sent, result should be visible soon');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -782,6 +788,7 @@ class Monitoring_CommandController extends ActionController
|
|||||||
|
|
||||||
if ($form->IsSubmittedAndValid() === true) {
|
if ($form->IsSubmittedAndValid() === true) {
|
||||||
$this->target->sendCommand($form->createCommand(), $this->view->objects);
|
$this->target->sendCommand($form->createCommand(), $this->view->objects);
|
||||||
|
Notification::success('Command has been sent, result should be visible soon');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -813,6 +820,7 @@ class Monitoring_CommandController extends ActionController
|
|||||||
|
|
||||||
if ($form->IsSubmittedAndValid() === true) {
|
if ($form->IsSubmittedAndValid() === true) {
|
||||||
$this->target->sendCommand($form->createCommand(), $this->view->objects);
|
$this->target->sendCommand($form->createCommand(), $this->view->objects);
|
||||||
|
Notification::success('Command has been sent, result should be visible soon');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -845,6 +853,7 @@ class Monitoring_CommandController extends ActionController
|
|||||||
|
|
||||||
if ($form->IsSubmittedAndValid() === true) {
|
if ($form->IsSubmittedAndValid() === true) {
|
||||||
$this->target->sendCommand($form->createCommand(), $this->view->objects);
|
$this->target->sendCommand($form->createCommand(), $this->view->objects);
|
||||||
|
Notification::success('Command has been sent, result should be visible soon');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -877,6 +886,7 @@ class Monitoring_CommandController extends ActionController
|
|||||||
|
|
||||||
if ($form->IsSubmittedAndValid() === true) {
|
if ($form->IsSubmittedAndValid() === true) {
|
||||||
$this->target->sendCommand($form->createCommand(), $this->view->objects);
|
$this->target->sendCommand($form->createCommand(), $this->view->objects);
|
||||||
|
Notification::success('Command has been sent, result should be visible soon');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user