mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-27 15:54:03 +02:00
parent
6cd1cb022a
commit
9a072a8fd4
@ -1,5 +1,6 @@
|
|||||||
<?php
|
<?php
|
||||||
use Icinga\Module\Monitoring\Web\Widget\StateBadges;
|
use Icinga\Module\Monitoring\Web\Widget\StateBadges;
|
||||||
|
use Icinga\Web\Url;
|
||||||
|
|
||||||
// Don't fetch rows until they are actually needed, to improve dashlet performance
|
// Don't fetch rows until they are actually needed, to improve dashlet performance
|
||||||
if (! $stats instanceof stdClass) {
|
if (! $stats instanceof stdClass) {
|
||||||
@ -12,7 +13,8 @@ if (! $stats instanceof stdClass) {
|
|||||||
'%u Service', '%u Services', $stats->services_total),
|
'%u Service', '%u Services', $stats->services_total),
|
||||||
$stats->services_total
|
$stats->services_total
|
||||||
),
|
),
|
||||||
'monitoring/list/services',
|
// @TODO(el): Fix that
|
||||||
|
Url::fromPath('monitoring/list/services')->setParams(isset($baseFilter) ? $baseFilter->getUrlParams() : array()),
|
||||||
null,
|
null,
|
||||||
array('title' => sprintf(
|
array('title' => sprintf(
|
||||||
$this->translatePlural('List %u service', 'List all %u services', $stats->services_total),
|
$this->translatePlural('List %u service', 'List all %u services', $stats->services_total),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user