diff --git a/library/Businessprocess/Node.php b/library/Businessprocess/Node.php index 5278da2..c8b92f2 100644 --- a/library/Businessprocess/Node.php +++ b/library/Businessprocess/Node.php @@ -335,6 +335,7 @@ abstract class Node $this->renderLink($view) ); + $title = preg_replace('##', ' ' . $view->timeSince($this->getLastStateChange()) . '', $title); $icons = array(); foreach ($this->getActionIcons($view) as $icon) { diff --git a/library/Businessprocess/ServiceNode.php b/library/Businessprocess/ServiceNode.php index 10b195c..69c859e 100644 --- a/library/Businessprocess/ServiceNode.php +++ b/library/Businessprocess/ServiceNode.php @@ -37,7 +37,7 @@ class ServiceNode extends Node $params['backend'] = $this->bp->getBackendName(); } $link = $view->qlink($this->getAlias(), 'monitoring/service/show', $params); - return preg_replace('##', ' ' . $view->timeSince($this->getLastStateChange()) . '', $link); +return $link; } protected function getActionIcons($view)