Skip to content

Commit

Permalink
monitoring: Remove trailing semicolons from inline echo tags in the h…
Browse files Browse the repository at this point in the history
…ost detail

refs #5543
  • Loading branch information
lippserd committed Sep 25, 2015
1 parent 8e63d89 commit cf36d28
Showing 1 changed file with 7 additions and 7 deletions.
Expand Up @@ -4,21 +4,21 @@ use Icinga\Module\Monitoring\Object\Host;
?>
<table>
<tr>
<td class="state-col state <?= Host::getStateText($object->host_state); ?><?= $object->host_handled ? ' handled' : ''; ?>">
<?= Host::getStateText($object->host_state, true); ?><br>
<?= $this->timeSince($object->host_last_state_change); ?>
<td class="state-col state <?= Host::getStateText($object->host_state) ?><?= $object->host_handled ? ' handled' : '' ?>">
<?= Host::getStateText($object->host_state, true) ?><br>
<?= $this->timeSince($object->host_last_state_change) ?>
</td>
<td>
<?= $this->iconImage()->host($object) ?>
<?= $this->escape($object->host_display_name); ?>
<?= $this->escape($object->host_display_name) ?>
<?php if ($object->host_display_name !== $object->host_name): ?>
(<?= $this->escape($object->host_name); ?>)
(<?= $this->escape($object->host_name) ?>)
<?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>
</table>

0 comments on commit cf36d28

Please sign in to comment.