mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-29 00:34:03 +02:00
monitoring: Count unhandled hosts once in hosts/show.phtml
This commit is contained in:
parent
c87733debc
commit
507aefa9dd
@ -62,13 +62,14 @@
|
|||||||
|
|
||||||
<?php if (! empty($unhandledObjects)): ?>
|
<?php if (! empty($unhandledObjects)): ?>
|
||||||
<h3>
|
<h3>
|
||||||
|
<?php $unhandledCount = count($unhandledObjects) ?>
|
||||||
<?= sprintf(
|
<?= sprintf(
|
||||||
$this->translatePlural(
|
$this->translatePlural(
|
||||||
'%u Unhandled Host Problem',
|
'%u Unhandled Host Problem',
|
||||||
'%u Unhandled Host Problems',
|
'%u Unhandled Host Problems',
|
||||||
count($unhandledObjects)
|
$unhandledCount
|
||||||
),
|
),
|
||||||
count($unhandledObjects)
|
$unhandledCount
|
||||||
) ?>
|
) ?>
|
||||||
</h3>
|
</h3>
|
||||||
<div>
|
<div>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user