monitoring: Minor markup fixes

refs #5543
This commit is contained in:
Eric Lippmann 2015-10-28 12:09:34 +01:00
parent 8212ff9aab
commit 918aa481ca
2 changed files with 3 additions and 4 deletions

View File

@ -58,7 +58,7 @@ if (! $this->compact): ?>
) )
) ?> ) ?>
<?php if (isset($summary[$host->host_name])): ?> <?php if (isset($summary[$host->host_name])): ?>
<span class="host-services-incidents"> (<?= $this->qlink( <span class="host-services-incidents"> &#40;<?= $this->qlink(
sprintf( sprintf(
$this->translatePlural( $this->translatePlural(
'%u unhandled service', '%u unhandled services', $summary[$host->host_name] '%u unhandled service', '%u unhandled services', $summary[$host->host_name]
@ -82,7 +82,7 @@ if (! $this->compact): ?>
$host->host_name $host->host_name
) )
) )
) ?>)</span> ) ?>&#41;</span>
<?php endif ?> <?php endif ?>
<span class="state-icons"><?= implode(' ', $this->hostFlags($host)) ?></span> <span class="state-icons"><?= implode(' ', $this->hostFlags($host)) ?></span>
</div> </div>

View File

@ -7,8 +7,7 @@ if (in_array((int) $object->state, array(0, 99))) {
return; return;
} }
if ($object->acknowledged): ?> if ($object->acknowledged):
<?php
$acknowledgement = $object->acknowledgement; $acknowledgement = $object->acknowledgement;
/** @var \Icinga\Module\Monitoring\Object\Acknowledgement $acknowledgement */ /** @var \Icinga\Module\Monitoring\Object\Acknowledgement $acknowledgement */
?> ?>