monitoring/CSS: Fix state badges CSS classes

refs #5543
This commit is contained in:
Eric Lippmann 2015-09-27 12:42:54 +02:00
parent d1ca041b1d
commit a1da5f5558

View File

@ -76,9 +76,9 @@ 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
)); ));
} }
return $this; return $this;