monitoring: Display host and service names using the display_name column in the downtimes overview

refs #7843
This commit is contained in:
Eric Lippmann 2015-01-21 12:53:47 +01:00
parent ab6eed03e5
commit 86cc56afe6
1 changed files with 3 additions and 3 deletions

View File

@ -57,16 +57,16 @@ use Icinga\Module\Monitoring\Object\Service;
'host' => $downtime->host,
'service' => $downtime->service
)); ?>">
<?= $this->escape($downtime->service) ?>
<?= $this->escape($downtime->service_display_name) ?>
</a>
<small>
<?= $this->translate('on'); ?> <?= $this->escape($downtime->host) ?>
<?= $this->translate('on'); ?> <?= $this->escape($downtime->host_display_name) ?>
</small>
<?php else: ?>
<?= $this->icon('host'); ?> <a href="<?= $this->href('monitoring/host/show', array(
'host' => $downtime->host
)); ?>">
<?= $this->escape($downtime->host) ?>
<?= $this->escape($downtime->host_display_name) ?>
</a>
<?php endif ?>
<br>