TreeRenderer: Render the info_url action where all other action urls are

This commit is contained in:
Johannes Meyer 2019-02-22 10:17:54 +01:00
parent 1529ec4602
commit 40c406ac9e

View file

@ -167,16 +167,16 @@ class TreeRenderer extends Renderer
$div->add($node->getLink());
$div->add($this->getNodeIcons($node, $path));
if ($node instanceof BpNode && $node->hasInfoUrl()) {
$div->add($this->createInfoAction($node));
}
$div->add(Html::tag('span', null, $node->getAlias()));
if ($node instanceof BpNode) {
$div->add(Html::tag('span', ['class' => 'op'], $node->operatorHtml()));
}
if ($node instanceof BpNode && $node->hasInfoUrl()) {
$div->add($this->createInfoAction($node));
}
if (! $this->isLocked() && $node->getBpConfig()->getName() === $this->getBusinessProcess()->getName()) {
$div->add($this->getActionIcons($bp, $node));
}