mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-29 16:54:04 +02:00
parent
8dbb215e27
commit
e0fe6440d2
@ -12,7 +12,7 @@ function urlAddFilterOptional($url, $filter, $optional) {
|
|||||||
return $url->setQueryString($f->toQueryString());
|
return $url->setQueryString($f->toQueryString());
|
||||||
}
|
}
|
||||||
|
|
||||||
$selfUrl = Url::fromPath('monitoring/show/services', array('host' => $object->host_name));
|
$selfUrl = Url::fromPath('monitoring/list/services', array('host' => $object->host_name));
|
||||||
$currentUrl = Url::fromRequest()->without('limit')->getRelativeUrl();
|
$currentUrl = Url::fromRequest()->without('limit')->getRelativeUrl();
|
||||||
?><div class="tinystatesummary" <?= $this->compact ? ' data-base-target="col1"' : ''; ?>>
|
?><div class="tinystatesummary" <?= $this->compact ? ' data-base-target="col1"' : ''; ?>>
|
||||||
<?php if ($object->stats->services_total): ?>
|
<?php if ($object->stats->services_total): ?>
|
||||||
@ -27,15 +27,18 @@ $currentUrl = Url::fromRequest()->without('limit')->getRelativeUrl();
|
|||||||
),
|
),
|
||||||
$selfUrl,
|
$selfUrl,
|
||||||
null,
|
null,
|
||||||
array('title' => sprintf(
|
array(
|
||||||
$this->translatePlural(
|
'title' => sprintf(
|
||||||
'List all %u service on host %s',
|
$this->translatePlural(
|
||||||
'List all %u services on host %s',
|
'List all %u service on host %s',
|
||||||
$object->stats->services_total
|
'List all %u services on host %s',
|
||||||
|
$object->stats->services_total
|
||||||
|
),
|
||||||
|
$object->stats->services_total,
|
||||||
|
$object->host_name
|
||||||
),
|
),
|
||||||
$object->stats->services_total,
|
'data-base-target' => '_next'
|
||||||
$object->host_name
|
)
|
||||||
))
|
|
||||||
); ?>
|
); ?>
|
||||||
<?php else: ?>
|
<?php else: ?>
|
||||||
<?= $this->translate('No services configured on this host'); ?>
|
<?= $this->translate('No services configured on this host'); ?>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user