monitoring: Count acknowledged hosts once in hosts/show.phtml
This commit is contained in:
parent
507aefa9dd
commit
3745d3ebef
|
@ -90,13 +90,14 @@
|
|||
|
||||
<?php if (! empty($acknowledgedObjects)): ?>
|
||||
<h2>
|
||||
<?php $acknowledgedCount = count($acknowledgedObjects) ?>
|
||||
<?= sprintf(
|
||||
$this->translatePlural(
|
||||
'%u Acknowledged Host Problem',
|
||||
'%u Acknowledged Host Problems',
|
||||
count($acknowledgedObjects)
|
||||
$acknowledgedCount
|
||||
),
|
||||
count($acknowledgedObjects)
|
||||
$acknowledgedCount
|
||||
) ?>
|
||||
</h2>
|
||||
<div>
|
||||
|
|
Loading…
Reference in New Issue