mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-31 01:34:12 +02:00
controllers: add icon
This commit is contained in:
parent
c1f3e1c041
commit
eb901dacca
@ -14,6 +14,7 @@ class ConfigController extends ActionController
|
||||
|
||||
public function deployAction()
|
||||
{
|
||||
// TODO: require POST
|
||||
$isApiRequest = $this->getRequest()->isApiRequest();
|
||||
$checksum = $this->params->get('checksum');
|
||||
if ($checksum) {
|
||||
|
@ -66,7 +66,8 @@ class ImportsourceController extends ActionController
|
||||
$id = $this->params->get('source_id');
|
||||
$this->prepareTabs($id)->activate('modifier');
|
||||
|
||||
$this->view->addLink = $this->view->qlink(
|
||||
$this->view->addLink = $this->view->icon('plus') . ' '
|
||||
. $this->view->qlink(
|
||||
$this->translate('Add property modifier'),
|
||||
'director/importsource/addmodifier',
|
||||
array('source_id' => $id)
|
||||
|
@ -57,7 +57,8 @@ class ListController extends ActionController
|
||||
|
||||
public function datalistAction()
|
||||
{
|
||||
$this->view->addLink = $this->view->qlink(
|
||||
$this->view->addLink = $this->view->icon('plus') . ' '
|
||||
. $this->view->qlink(
|
||||
$this->translate('Add list'),
|
||||
'director/datalist/add'
|
||||
);
|
||||
@ -72,7 +73,8 @@ class ListController extends ActionController
|
||||
$listId = $this->params->get('list_id');
|
||||
$this->view->lastId = $listId;
|
||||
|
||||
$this->view->addLink = $this->view->qlink(
|
||||
$this->view->addLink = $this->view->icon('plus') . ' '
|
||||
. $this->view->qlink(
|
||||
$this->translate('Add entry'),
|
||||
'director/datalistentry/add' . '?list_id=' . $listId
|
||||
);
|
||||
@ -91,7 +93,8 @@ class ListController extends ActionController
|
||||
|
||||
public function datafieldAction()
|
||||
{
|
||||
$this->view->addLink = $this->view->qlink(
|
||||
$this->view->addLink = $this->view->icon('plus') . ' '
|
||||
. $this->view->qlink(
|
||||
$this->translate('Add field'),
|
||||
'director/datafield/add'
|
||||
);
|
||||
@ -103,7 +106,8 @@ class ListController extends ActionController
|
||||
|
||||
public function importsourceAction()
|
||||
{
|
||||
$this->view->addLink = $this->view->qlink(
|
||||
$this->view->addLink = $this->view->icon('plus') . ' '
|
||||
. $this->view->qlink(
|
||||
$this->translate('Add import source'),
|
||||
'director/importsource/add'
|
||||
);
|
||||
@ -123,7 +127,8 @@ class ListController extends ActionController
|
||||
|
||||
public function syncruleAction()
|
||||
{
|
||||
$this->view->addLink = $this->view->qlink(
|
||||
$this->view->addLink = $this->view->icon('plus') . ' '
|
||||
. $this->view->qlink(
|
||||
$this->translate('Add sync rule'),
|
||||
'director/syncrule/add'
|
||||
);
|
||||
|
@ -74,7 +74,8 @@ class SyncruleController extends ActionController
|
||||
$this->view->stayHere = true;
|
||||
$id = $this->params->get('rule_id');
|
||||
|
||||
$this->view->addLink = $this->view->qlink(
|
||||
$this->view->addLink = $this->view->icon('plus') . ' '
|
||||
. $this->view->qlink(
|
||||
$this->translate('Add sync property rule'),
|
||||
'director/syncrule/addproperty',
|
||||
array('rule_id' => $id)
|
||||
|
Loading…
x
Reference in New Issue
Block a user