Skip to content

Commit

Permalink
monitoring: Fix swapped icon images in the service-header
Browse files Browse the repository at this point in the history
fixes #10419
  • Loading branch information
lippserd committed Oct 28, 2015
1 parent d15673f commit e37b3c5
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -10,7 +10,7 @@ use Icinga\Module\Monitoring\Object\Service;
<div class="state-meta"><?= $this->timeSince($object->host_last_state_change) ?></div>
</td>
<td>
<?= $this->iconImage()->service($object) ?>
<?= $this->iconImage()->host($object) ?>
<span class="selectable"><?= $this->escape($object->host_display_name) ?></span>
<?php if ($object->host_display_name !== $object->host_name): ?>
<span class="selectable host-meta">&#40;<?= $this->escape($object->host_name) ?>&#41;</span>
Expand All @@ -34,7 +34,7 @@ use Icinga\Module\Monitoring\Object\Service;
<div class="state-meta"><?= $this->timeSince($object->service_last_state_change) ?></div>
</td>
<td>
<?= $this->iconImage()->host($object) ?>
<?= $this->iconImage()->service($object) ?>
<?= $this->translate('Service') ?>&#58; <span class="selectable"><?= $this->escape($object->service_display_name) ?></span>
<?php if ($object->service_display_name !== $object->service_description): ?>
<span class="selectable service-meta">&#40;<?= $this->escape($object->service_description) ?>&#41;</span>
Expand Down

0 comments on commit e37b3c5

Please sign in to comment.