From ea80161a2700fbad021937564b350758f1404060 Mon Sep 17 00:00:00 2001 From: Thomas Gelf Date: Fri, 18 Mar 2016 13:00:14 +0100 Subject: [PATCH] host/services: add dedicated view script --- application/controllers/HostController.php | 1 - application/views/scripts/host/services.phtml | 18 ++++++++++++++++++ 2 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 application/views/scripts/host/services.phtml diff --git a/application/controllers/HostController.php b/application/controllers/HostController.php index 1027297a..240c2e11 100644 --- a/application/controllers/HostController.php +++ b/application/controllers/HostController.php @@ -48,7 +48,6 @@ class HostController extends ObjectController ->setHost($host) ->enforceFilter('host_id', $host->id) ->setConnection($this->db()); - $this->render('objects/table', null, true); } public function agentAction() diff --git a/application/views/scripts/host/services.phtml b/application/views/scripts/host/services.phtml new file mode 100644 index 00000000..83e1115c --- /dev/null +++ b/application/views/scripts/host/services.phtml @@ -0,0 +1,18 @@ +
+tabs ?> +

escape($this->title) ?>

+ +addLink ?> + +filterEditor && ! $this->filterEditor->getFilter()->isEmpty())): ?> +filterEditor ?> + +table->getPaginator() ?> +
+ +
+form ?> + +table->render() ?> + +