diff --git a/application/controllers/ServiceController.php b/application/controllers/ServiceController.php index c7ca924b..dfa2439e 100644 --- a/application/controllers/ServiceController.php +++ b/application/controllers/ServiceController.php @@ -99,6 +99,13 @@ class ServiceController extends ObjectController } } + public function indexAction() + { + $object = $this->loadObject(); + $title = $this->view->title = $object->object_name; + $this->singleTab($this->translate('Icinga Service Template')); + } + public function editAction() { $object = $this->object; diff --git a/application/views/scripts/service/index.phtml b/application/views/scripts/service/index.phtml new file mode 100644 index 00000000..e75ecc92 --- /dev/null +++ b/application/views/scripts/service/index.phtml @@ -0,0 +1,22 @@ +
+tabs ?> +

escape($this->title) ?>

+ +actionLinks ?> + +
+ +
+This is a service template. [As it has no command You might want to assign it: + +