diff --git a/modules/monitoring/library/Monitoring/Web/Widget/StateBadges.php b/modules/monitoring/library/Monitoring/Web/Widget/StateBadges.php index 88be84b1d..73d4169d6 100644 --- a/modules/monitoring/library/Monitoring/Web/Widget/StateBadges.php +++ b/modules/monitoring/library/Monitoring/Web/Widget/StateBadges.php @@ -197,7 +197,11 @@ class StateBadges extends AbstractWidget '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;