mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-30 01:04:12 +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->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))),
|
||||
'director/' . $ltype .'/clone',
|
||||
array('name' => $object->object_name)
|
||||
@ -175,8 +176,9 @@ abstract class ObjectController extends ActionController
|
||||
);
|
||||
$this->view->form->handleRequest();
|
||||
|
||||
$this->view->actionLinks = $this->view->qlink(
|
||||
sprintf($this->translate('<- back'), $this->translate(ucfirst($ltype))),
|
||||
$this->view->actionLinks = $this->view->icon('left-big') . ' '
|
||||
. $this->view->qlink(
|
||||
sprintf($this->translate('back'), $this->translate(ucfirst($ltype))),
|
||||
'director/' . $ltype,
|
||||
array('name' => $this->object->object_name)
|
||||
);
|
||||
|
@ -88,7 +88,8 @@ abstract class ObjectsController extends ActionController
|
||||
$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))),
|
||||
'director/' . $ltype .'/add',
|
||||
$addParams
|
||||
|
Loading…
x
Reference in New Issue
Block a user