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);
|
||||
if ($node instanceof ImportedNode) {
|
||||
$link->attributes()->add('data-base-target', '_next');
|
||||
} else {
|
||||
$link->attributes()->add('data-base-target', '_self');
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -210,7 +212,7 @@ class NodeTile extends BaseElement
|
|||
null,
|
||||
array(
|
||||
'title' => $this->translate('Show tiles for this subtree'),
|
||||
'data-base-target' => '_next'
|
||||
'data-base-target' => '_self'
|
||||
)
|
||||
))->add(Link::create(
|
||||
Icon::create('sitemap'),
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ class BpDashboardTile extends BaseElement
|
|||
{
|
||||
$this->add(
|
||||
Container::create(
|
||||
['class' => 'bp-link'],
|
||||
['class' => 'bp-link', 'data-base-target' => '_main'],
|
||||
Link::create(
|
||||
Icon::create($icon),
|
||||
$url,
|
||||
|
|
|
|||
Loading…
Reference in a new issue