mirror of
https://github.com/Icinga/icingaweb2-module-businessprocess.git
synced 2026-01-29 23:09:25 -05:00
NodeTile: Allow to add sub nodes directly from a parent's overview
This commit is contained in:
parent
b2ef90b99f
commit
c40a192078
1 changed files with 12 additions and 0 deletions
|
|
@ -295,6 +295,18 @@ class NodeTile extends BaseHtmlElement
|
|||
],
|
||||
Html::tag('i', ['class' => 'icon icon-edit'])
|
||||
));
|
||||
|
||||
$this->actions()->add(Html::tag(
|
||||
'a',
|
||||
[
|
||||
'href' => $renderer->getUrl()->with([
|
||||
'action' => 'add',
|
||||
'node' => $node->getName()
|
||||
]),
|
||||
'title' => mt('businessprocess', 'Add a new sub-node to this business process')
|
||||
],
|
||||
Html::tag('i', ['class' => 'icon icon-plus'])
|
||||
));
|
||||
}
|
||||
|
||||
$params = array(
|
||||
|
|
|
|||
Loading…
Reference in a new issue