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

View File

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