mirror of
https://github.com/Icinga/icingaweb2-module-businessprocess.git
synced 2025-12-20 23:00:16 -05:00
parent
8b7311591f
commit
20b957a999
2 changed files with 4 additions and 2 deletions
|
|
@ -192,6 +192,8 @@ class NodeTile extends BaseElement
|
||||||
$link = Link::create($node->getAlias(), $url);
|
$link = Link::create($node->getAlias(), $url);
|
||||||
if ($node instanceof ImportedNode) {
|
if ($node instanceof ImportedNode) {
|
||||||
$link->attributes()->add('data-base-target', '_next');
|
$link->attributes()->add('data-base-target', '_next');
|
||||||
|
} else {
|
||||||
|
$link->attributes()->add('data-base-target', '_self');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -210,7 +212,7 @@ class NodeTile extends BaseElement
|
||||||
null,
|
null,
|
||||||
array(
|
array(
|
||||||
'title' => $this->translate('Show tiles for this subtree'),
|
'title' => $this->translate('Show tiles for this subtree'),
|
||||||
'data-base-target' => '_next'
|
'data-base-target' => '_self'
|
||||||
)
|
)
|
||||||
))->add(Link::create(
|
))->add(Link::create(
|
||||||
Icon::create('sitemap'),
|
Icon::create('sitemap'),
|
||||||
|
|
|
||||||
|
|
@ -21,7 +21,7 @@ class BpDashboardTile extends BaseElement
|
||||||
{
|
{
|
||||||
$this->add(
|
$this->add(
|
||||||
Container::create(
|
Container::create(
|
||||||
['class' => 'bp-link'],
|
['class' => 'bp-link', 'data-base-target' => '_main'],
|
||||||
Link::create(
|
Link::create(
|
||||||
Icon::create($icon),
|
Icon::create($icon),
|
||||||
$url,
|
$url,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue