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