mirror of
https://github.com/Icinga/icingaweb2-module-businessprocess.git
synced 2026-01-17 18:12:53 -05:00
parent
2b8f51e983
commit
404223a306
1 changed files with 11 additions and 4 deletions
|
|
@ -158,9 +158,16 @@ abstract class Renderer extends Html
|
|||
|
||||
public function getNodeClasses(Node $node)
|
||||
{
|
||||
$classes = array(
|
||||
strtolower($node->getStateName())
|
||||
);
|
||||
if ($node->isMissing()) {
|
||||
$classes = array('missing');
|
||||
} else {
|
||||
$classes = array(
|
||||
strtolower($node->getStateName())
|
||||
);
|
||||
if ($node->hasMissingChildren()) {
|
||||
$classes[] = 'missing-children';
|
||||
}
|
||||
}
|
||||
|
||||
if ($node->isHandled()) {
|
||||
$classes[] = 'handled';
|
||||
|
|
@ -171,7 +178,7 @@ abstract class Renderer extends Html
|
|||
} else {
|
||||
$classes[] = 'monitored-node';
|
||||
}
|
||||
|
||||
// TODO: problem?
|
||||
return $classes;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue