mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-28 08:14:03 +02:00
parent
45e1406e2a
commit
a64f546a71
@ -96,11 +96,18 @@ if ($hosts->count() === 0) {
|
|||||||
<?= $this->icon($this->resolveMacros($host->host_icon_image, $host)) ?>
|
<?= $this->icon($this->resolveMacros($host->host_icon_image, $host)) ?>
|
||||||
<?php endif ?>
|
<?php endif ?>
|
||||||
<?= implode(' ', $icons) ?>
|
<?= implode(' ', $icons) ?>
|
||||||
<a href="<?= $hostLink ?>"><?= $this->escape($host->host_display_name) ?></a>
|
<?= $this->qlink(
|
||||||
|
$host->host_display_name,
|
||||||
|
$hostLink,
|
||||||
|
null,
|
||||||
|
array(
|
||||||
|
'title' => sprintf($this->translate('Show detailed information for host %s'), $host->host_display_name)
|
||||||
|
)
|
||||||
|
); ?>
|
||||||
<?php if (isset($host->host_unhandled_services) && $host->host_unhandled_services > 0): ?>
|
<?php if (isset($host->host_unhandled_services) && $host->host_unhandled_services > 0): ?>
|
||||||
<span> (<?= $this->qlink(
|
<span> (<?= $this->qlink(
|
||||||
sprintf(
|
sprintf(
|
||||||
$this->translatePlural('%d unhandled service', '%d unhandled services', $host->host_unhandled_services),
|
$this->translatePlural('%u unhandled service', '%u unhandled services', $host->host_unhandled_services),
|
||||||
$host->host_unhandled_services
|
$host->host_unhandled_services
|
||||||
),
|
),
|
||||||
'monitoring/show/services',
|
'monitoring/show/services',
|
||||||
@ -113,8 +120,8 @@ if ($hosts->count() === 0) {
|
|||||||
'style' => 'font-weight: normal',
|
'style' => 'font-weight: normal',
|
||||||
'title' => sprintf(
|
'title' => sprintf(
|
||||||
$this->translatePlural(
|
$this->translatePlural(
|
||||||
'List %s service problem on host %s',
|
'List %s unhandled service problem on host %s',
|
||||||
'List %s service problems on host %s',
|
'List %s unhandled service problems on host %s',
|
||||||
$host->host_unhandled_services
|
$host->host_unhandled_services
|
||||||
),
|
),
|
||||||
$host->host_unhandled_services,
|
$host->host_unhandled_services,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user