monitoring: Count unhandled services once in services/show.phtml

This commit is contained in:
Eric Lippmann 2014-12-30 10:45:24 +01:00
parent a7a99b5856
commit df3d7d2034
1 changed files with 3 additions and 2 deletions

View File

@ -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>