Skip to content

Commit

Permalink
monitoring: Remove trailing semicolon from inline echo tags in the se…
Browse files Browse the repository at this point in the history
…rvice detail header

refs #5543
  • Loading branch information
lippserd committed Sep 25, 2015
1 parent 78c07da commit 3f821ac
Showing 1 changed file with 11 additions and 11 deletions.
Expand Up @@ -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>

0 comments on commit 3f821ac

Please sign in to comment.