mirror of
https://github.com/Icinga/icingaweb2-module-businessprocess.git
synced 2026-05-28 04:34:08 -04:00
Remove help from node detail view
This commit is contained in:
parent
89347648e1
commit
a544f25551
2 changed files with 19 additions and 16 deletions
|
|
@ -97,22 +97,6 @@ class NodeTile extends BaseElement
|
|||
$this->addActionLinks();
|
||||
}
|
||||
|
||||
if ($node instanceof BpNode) {
|
||||
$url = $node->getInfoUrl();
|
||||
|
||||
if ($url !== null) {
|
||||
$this->actions()->add(Link::create(
|
||||
Icon::create('help'),
|
||||
$url,
|
||||
null,
|
||||
array(
|
||||
'title' => sprintf('%s: %s', $this->translate('More information'), $url),
|
||||
'style' => 'float: right'
|
||||
)
|
||||
));
|
||||
}
|
||||
}
|
||||
|
||||
return parent::render();
|
||||
}
|
||||
|
||||
|
|
@ -237,6 +221,20 @@ class NodeTile extends BaseElement
|
|||
'data-base-target' => '_next'
|
||||
)
|
||||
));
|
||||
|
||||
$url = $node->getInfoUrl();
|
||||
|
||||
if ($url !== null) {
|
||||
$this->actions()->add(Link::create(
|
||||
Icon::create('help'),
|
||||
$url,
|
||||
null,
|
||||
array(
|
||||
'title' => sprintf('%s: %s', $this->translate('More information'), $url),
|
||||
'class' => 'node-help'
|
||||
)
|
||||
));
|
||||
}
|
||||
} else {
|
||||
// $url = $this->makeMonitoredNodeUrl($node);
|
||||
if ($node instanceof ServiceNode) {
|
||||
|
|
|
|||
|
|
@ -466,6 +466,11 @@ div.bp .badges {
|
|||
color: @text-color;
|
||||
}
|
||||
}
|
||||
|
||||
.node-help {
|
||||
margin-right: 0.3em;
|
||||
float: right;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue