Skip to content

Commit

Permalink
monitoring: Fix URL and title for state badges
Browse files Browse the repository at this point in the history
refs #5543
  • Loading branch information
lippserd committed Sep 28, 2015
1 parent 344dafe commit ed63d16
Showing 1 changed file with 5 additions and 1 deletion.
Expand Up @@ -197,7 +197,11 @@ public function createBadge($state, Navigation $badges)
'attributes' => array('class' => 'badge ' . $state),
'label' => $badge->count,
'priority' => $this->priority++,
'url' => $this->url
'title' => vsprintf(
mtp('monitoring', $badge->translateSingular, $badge->translatePlural, $badge->count),
$badge->translateArgs
),
'url' => clone $this->url->setParams($badge->filter)
)));
}
return $this;
Expand Down

0 comments on commit ed63d16

Please sign in to comment.