mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-28 16:24:04 +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)): ?>
|
||||
<h3>
|
||||
<?php $unhandledCount = count($unhandledObjects) ?>
|
||||
<?= sprintf(
|
||||
$this->translatePlural(
|
||||
'%u Unhandled Host Problem',
|
||||
'%u Unhandled Host Problems',
|
||||
count($unhandledObjects)
|
||||
$unhandledCount
|
||||
),
|
||||
count($unhandledObjects)
|
||||
$unhandledCount
|
||||
) ?>
|
||||
</h3>
|
||||
<div>
|
||||
|
Loading…
x
Reference in New Issue
Block a user