diff --git a/library/Businessprocess/Renderer/TileRenderer/NodeTile.php b/library/Businessprocess/Renderer/TileRenderer/NodeTile.php index b44dc6f..5d02e7e 100644 --- a/library/Businessprocess/Renderer/TileRenderer/NodeTile.php +++ b/library/Businessprocess/Renderer/TileRenderer/NodeTile.php @@ -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) { diff --git a/public/css/module.less b/public/css/module.less index d7ff82e..4dea905 100644 --- a/public/css/module.less +++ b/public/css/module.less @@ -466,6 +466,11 @@ div.bp .badges { color: @text-color; } } + + .node-help { + margin-right: 0.3em; + float: right; + } }