mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-28 00:04:04 +02:00
parent
d1ca041b1d
commit
a1da5f5558
@ -76,9 +76,9 @@ class StateBadges extends AbstractWidget
|
||||
if ($this->has($state)) {
|
||||
$badge = $this->get($state);
|
||||
$badges->addItem(array(
|
||||
'class' => static::STATE_OK,
|
||||
'label' => $badge->count,
|
||||
'url' => $this->url
|
||||
'attributes' => array('class' => 'badge ' . $state),
|
||||
'label' => $badge->count,
|
||||
'url' => $this->url
|
||||
));
|
||||
}
|
||||
return $this;
|
||||
|
Loading…
x
Reference in New Issue
Block a user