mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-30 09:14:08 +02:00
parent
83efc3a4a3
commit
fff2d5c816
@ -70,14 +70,14 @@ class Monitoring_CommentsController extends Controller
|
|||||||
$this->view->comments = $this->comments;
|
$this->view->comments = $this->comments;
|
||||||
$this->view->listAllLink = Url::fromPath('monitoring/list/comments')
|
$this->view->listAllLink = Url::fromPath('monitoring/list/comments')
|
||||||
->setQueryString($this->filter->toQueryString());
|
->setQueryString($this->filter->toQueryString());
|
||||||
$this->view->removeAllLink = Url::fromPath('monitoring/comments/remove-all')
|
$this->view->removeAllLink = Url::fromPath('monitoring/comments/delete-all')
|
||||||
->setParams($this->params);
|
->setParams($this->params);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Display the form for removing a comment list
|
* Display the form for removing a comment list
|
||||||
*/
|
*/
|
||||||
public function removeAllAction()
|
public function deleteAllAction()
|
||||||
{
|
{
|
||||||
$this->assertPermission('monitoring/command/comment/delete');
|
$this->assertPermission('monitoring/command/comment/delete');
|
||||||
|
|
||||||
|
@ -104,14 +104,14 @@ class Monitoring_DowntimesController extends Controller
|
|||||||
$this->view->downtimes = $this->downtimes;
|
$this->view->downtimes = $this->downtimes;
|
||||||
$this->view->listAllLink = Url::fromPath('monitoring/list/downtimes')
|
$this->view->listAllLink = Url::fromPath('monitoring/list/downtimes')
|
||||||
->setQueryString($this->filter->toQueryString());
|
->setQueryString($this->filter->toQueryString());
|
||||||
$this->view->removeAllLink = Url::fromPath('monitoring/downtimes/remove-all')
|
$this->view->removeAllLink = Url::fromPath('monitoring/downtimes/delete-all')
|
||||||
->setParams($this->params);
|
->setParams($this->params);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Display the form for removing a downtime list
|
* Display the form for removing a downtime list
|
||||||
*/
|
*/
|
||||||
public function removeAllAction()
|
public function deleteAllAction()
|
||||||
{
|
{
|
||||||
$this->assertPermission('monitoring/command/downtime/delete');
|
$this->assertPermission('monitoring/command/downtime/delete');
|
||||||
$this->view->downtimes = $this->downtimes;
|
$this->view->downtimes = $this->downtimes;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user