ObjectsController: temporarily re-add tpl link
This commit is contained in:
parent
41d9179389
commit
e139f4349f
|
@ -94,6 +94,15 @@ abstract class ObjectsController extends ActionController
|
|||
'director/' . $ltype .'/add',
|
||||
$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());
|
||||
|
|
Loading…
Reference in New Issue