monitoring: Remove trailing semicolon from inline echo tags in the service detail header
refs #5543
This commit is contained in:
parent
78c07da9b7
commit
3f821ac284
|
@ -4,35 +4,35 @@ use Icinga\Module\Monitoring\Object\Service;
|
|||
?>
|
||||
<table>
|
||||
<tr>
|
||||
<td class="state-col state-<?= Host::getStateText($object->host_state); ?><?= $object->host_handled ? ' handled' : ''; ?>">
|
||||
<strong><?= Host::getStateText($object->host_state, true); ?></strong><br>
|
||||
<td class="state-col state-<?= Host::getStateText($object->host_state) ?><?= $object->host_handled ? ' handled' : '' ?>">
|
||||
<strong><?= Host::getStateText($object->host_state, true) ?></strong><br>
|
||||
<?= $this->timeSince($object->host_last_state_change) ?>
|
||||
</td>
|
||||
<td>
|
||||
<?= $this->iconImage()->service($object) ?>
|
||||
<strong><?= $this->escape($object->host_display_name); ?></strong>
|
||||
<strong><?= $this->escape($object->host_display_name) ?></strong>
|
||||
<?php if ($object->host_display_name !== $object->host_name): ?>
|
||||
<small>(<?= $this->escape($object->host_name); ?>)</small>
|
||||
<small>(<?= $this->escape($object->host_name) ?>)</small>
|
||||
<?php endif ?>
|
||||
<?php if ($object->host_address && $object->host_address !== $object->host_name): ?>
|
||||
<br>
|
||||
<?= $this->escape($object->host_address); ?>
|
||||
<?= $this->escape($object->host_address) ?>
|
||||
<?php endif ?>
|
||||
<?= $this->render('partials/host/statusicons.phtml'); ?>
|
||||
<?= $this->render('partials/host/statusicons.phtml') ?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="state <?= Service::getStateText($object->service_state); ?><?= $object->service_handled ? ' handled' : ''; ?>">
|
||||
<tr class="state <?= Service::getStateText($object->service_state) ?><?= $object->service_handled ? ' handled' : '' ?>">
|
||||
<td class="state">
|
||||
<strong><?= Service::getStateText($object->service_state, true); ?></strong><br>
|
||||
<strong><?= Service::getStateText($object->service_state, true) ?></strong><br>
|
||||
<?= $this->timeSince($object->service_last_state_change) ?>
|
||||
</td>
|
||||
<td>
|
||||
<?= $this->iconImage()->host($object) ?>
|
||||
<strong><?= $this->translate('Service'); ?>: <?= $this->escape($object->service_display_name); ?></strong>
|
||||
<strong><?= $this->translate('Service') ?>: <?= $this->escape($object->service_display_name) ?></strong>
|
||||
<?php if ($object->service_display_name !== $object->service_description): ?>
|
||||
<small>(<?= $this->escape($object->service_description); ?>)</small>
|
||||
<small>(<?= $this->escape($object->service_description) ?>)</small>
|
||||
<?php endif ?>
|
||||
<?= $this->render('partials/service/statusicons.phtml'); ?>
|
||||
<?= $this->render('partials/service/statusicons.phtml') ?>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
|
Loading…
Reference in New Issue