mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-30 17:24:18 +02:00
object(s): add some icons
This commit is contained in:
parent
dd92946552
commit
1c36bb3f59
@ -127,7 +127,8 @@ abstract class ObjectController extends ActionController
|
|||||||
$this->view->title = sprintf($title, ucfirst($ltype));
|
$this->view->title = sprintf($title, ucfirst($ltype));
|
||||||
$this->view->form->handleRequest();
|
$this->view->form->handleRequest();
|
||||||
|
|
||||||
$this->view->actionLinks = $this->view->qlink(
|
$this->view->actionLinks = $this->view->icon('paste') . ' '
|
||||||
|
. $this->view->qlink(
|
||||||
sprintf($this->translate('Clone'), $this->translate(ucfirst($ltype))),
|
sprintf($this->translate('Clone'), $this->translate(ucfirst($ltype))),
|
||||||
'director/' . $ltype .'/clone',
|
'director/' . $ltype .'/clone',
|
||||||
array('name' => $object->object_name)
|
array('name' => $object->object_name)
|
||||||
@ -175,8 +176,9 @@ abstract class ObjectController extends ActionController
|
|||||||
);
|
);
|
||||||
$this->view->form->handleRequest();
|
$this->view->form->handleRequest();
|
||||||
|
|
||||||
$this->view->actionLinks = $this->view->qlink(
|
$this->view->actionLinks = $this->view->icon('left-big') . ' '
|
||||||
sprintf($this->translate('<- back'), $this->translate(ucfirst($ltype))),
|
. $this->view->qlink(
|
||||||
|
sprintf($this->translate('back'), $this->translate(ucfirst($ltype))),
|
||||||
'director/' . $ltype,
|
'director/' . $ltype,
|
||||||
array('name' => $this->object->object_name)
|
array('name' => $this->object->object_name)
|
||||||
);
|
);
|
||||||
|
@ -88,7 +88,8 @@ abstract class ObjectsController extends ActionController
|
|||||||
$addTitle = $this->translate('Add %s');
|
$addTitle = $this->translate('Add %s');
|
||||||
}
|
}
|
||||||
|
|
||||||
$this->view->addLink = $this->view->qlink(
|
$this->view->addLink = $this->view->icon('plus') . ' '
|
||||||
|
. $this->view->qlink(
|
||||||
sprintf($addTitle, $this->translate(ucfirst($ltype))),
|
sprintf($addTitle, $this->translate(ucfirst($ltype))),
|
||||||
'director/' . $ltype .'/add',
|
'director/' . $ltype .'/add',
|
||||||
$addParams
|
$addParams
|
||||||
|
Loading…
x
Reference in New Issue
Block a user