From eb8ea78d27d019294ca803aeac795aaf5b3818d7 Mon Sep 17 00:00:00 2001 From: Thomas Gelf Date: Thu, 18 Feb 2016 02:14:28 +0100 Subject: [PATCH] ObjectsController: remove add template link again --- library/Director/Web/Controller/ObjectsController.php | 8 -------- 1 file changed, 8 deletions(-) diff --git a/library/Director/Web/Controller/ObjectsController.php b/library/Director/Web/Controller/ObjectsController.php index cb964bb9..dafb714f 100644 --- a/library/Director/Web/Controller/ObjectsController.php +++ b/library/Director/Web/Controller/ObjectsController.php @@ -101,14 +101,6 @@ abstract class ObjectsController extends ActionController $addParams ); - if (! $dummy->isGroup()) { - $this->view->addLink .= ' ' . $this->view->icon('paste') . ' ' - . $this->view->qlink( - $this->translate('Create template'), - 'director/' . $ltype .'/add', - array('type' => 'template') - ); - } $this->view->title = $this->translate('Icinga ' . ucfirst($ltype)); $table = $this->loadTable($table)->setConnection($this->db()); $this->view->filterEditor = $table->getFilterEditor($this->getRequest());