ObjectsController: remove add template link again

This commit is contained in:
Thomas Gelf 2016-02-18 02:14:28 +01:00
parent 064ac6b4ae
commit eb8ea78d27

View File

@ -101,14 +101,6 @@ abstract class ObjectsController extends ActionController
$addParams $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)); $this->view->title = $this->translate('Icinga ' . ucfirst($ltype));
$table = $this->loadTable($table)->setConnection($this->db()); $table = $this->loadTable($table)->setConnection($this->db());
$this->view->filterEditor = $table->getFilterEditor($this->getRequest()); $this->view->filterEditor = $table->getFilterEditor($this->getRequest());