monitoring: Count unhandled services once in services/show.phtml
This commit is contained in:
parent
a7a99b5856
commit
df3d7d2034
|
@ -70,13 +70,14 @@
|
|||
|
||||
<?php if (! empty($unhandledObjects)): ?>
|
||||
<h3>
|
||||
<?php $unhandledCount = count($unhandledObjects) ?>
|
||||
<?= sprintf(
|
||||
$this->translatePlural(
|
||||
'%u Unhandled Service Problem',
|
||||
'%u Unhandled Service Problems',
|
||||
count($unhandledObjects)
|
||||
$unhandledCount
|
||||
),
|
||||
count($unhandledObjects)
|
||||
$unhandledCount
|
||||
) ?>
|
||||
</h3>
|
||||
<div>
|
||||
|
|
Loading…
Reference in New Issue