Skip to content

Commit

Permalink
monitoring/CSS: Fix state badges CSS classes
Browse files Browse the repository at this point in the history
refs #5543
  • Loading branch information
lippserd committed Sep 27, 2015
1 parent d1ca041 commit a1da5f5
Showing 1 changed file with 3 additions and 3 deletions.
Expand Up @@ -76,9 +76,9 @@ public function createBadge($state, Navigation $badges)
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;
Expand Down

0 comments on commit a1da5f5

Please sign in to comment.