From 5d20fb38e26f1f5f6d4fb9eab8117d7e29353564 Mon Sep 17 00:00:00 2001 From: Thomas Gelf Date: Thu, 6 Mar 2014 16:03:48 +0000 Subject: [PATCH] A few more command title tabs --- .../monitoring/application/controllers/CommandController.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/monitoring/application/controllers/CommandController.php b/modules/monitoring/application/controllers/CommandController.php index 47372f193..a50c9e056 100644 --- a/modules/monitoring/application/controllers/CommandController.php +++ b/modules/monitoring/application/controllers/CommandController.php @@ -882,6 +882,7 @@ class Monitoring_CommandController extends ActionController */ public function addcommentAction() { + $this->addTitleTab('Add comment'); $this->setSupportedParameters(array('host', 'service')); $form = new CommentForm(); $form->setRequest($this->_request); @@ -898,6 +899,7 @@ class Monitoring_CommandController extends ActionController */ public function removecommentAction() { + $this->addTitleTab('Remove Comment'); $this->setSupportedParameters(array('commentid', 'host', 'service')); $form = new SingleArgumentCommandForm(); $form->setRequest($this->_request); @@ -954,6 +956,7 @@ class Monitoring_CommandController extends ActionController */ public function removeacknowledgementAction() { + $this->addTitleTab('Remove Acknowledgement'); $this->setSupportedParameters(array('host', 'service')); $form = new SingleArgumentCommandForm(); $form->setRequest($this->getRequest());