A few more command title tabs

This commit is contained in:
Thomas Gelf 2014-03-06 16:03:48 +00:00
parent 833bf69e6d
commit 5d20fb38e2
1 changed files with 3 additions and 0 deletions

View File

@ -882,6 +882,7 @@ class Monitoring_CommandController extends ActionController
*/ */
public function addcommentAction() public function addcommentAction()
{ {
$this->addTitleTab('Add comment');
$this->setSupportedParameters(array('host', 'service')); $this->setSupportedParameters(array('host', 'service'));
$form = new CommentForm(); $form = new CommentForm();
$form->setRequest($this->_request); $form->setRequest($this->_request);
@ -898,6 +899,7 @@ class Monitoring_CommandController extends ActionController
*/ */
public function removecommentAction() public function removecommentAction()
{ {
$this->addTitleTab('Remove Comment');
$this->setSupportedParameters(array('commentid', 'host', 'service')); $this->setSupportedParameters(array('commentid', 'host', 'service'));
$form = new SingleArgumentCommandForm(); $form = new SingleArgumentCommandForm();
$form->setRequest($this->_request); $form->setRequest($this->_request);
@ -954,6 +956,7 @@ class Monitoring_CommandController extends ActionController
*/ */
public function removeacknowledgementAction() public function removeacknowledgementAction()
{ {
$this->addTitleTab('Remove Acknowledgement');
$this->setSupportedParameters(array('host', 'service')); $this->setSupportedParameters(array('host', 'service'));
$form = new SingleArgumentCommandForm(); $form = new SingleArgumentCommandForm();
$form->setRequest($this->getRequest()); $form->setRequest($this->getRequest());