mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-23 05:44:36 +02:00
monitoring: Count acknowledged services once in services/show.phtml
This commit is contained in:
parent
df3d7d2034
commit
128f6822f1
@ -98,13 +98,14 @@
|
|||||||
|
|
||||||
<?php if (! empty($acknowledgedObjects)): ?>
|
<?php if (! empty($acknowledgedObjects)): ?>
|
||||||
<h2>
|
<h2>
|
||||||
|
<?php $acknowledgedCount = count($acknowledgedObjects) ?>
|
||||||
<?= sprintf(
|
<?= sprintf(
|
||||||
$this->translatePlural(
|
$this->translatePlural(
|
||||||
'%u Acknowledged Service Problem',
|
'%u Acknowledged Service Problem',
|
||||||
'%u Acknowledged Service Problems',
|
'%u Acknowledged Service Problems',
|
||||||
count($acknowledgedObjects)
|
$acknowledgedCount
|
||||||
),
|
),
|
||||||
count($acknowledgedObjects)
|
$acknowledgedCount
|
||||||
) ?>
|
) ?>
|
||||||
</h2>
|
</h2>
|
||||||
<div>
|
<div>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user