monitoring: Display host and service names using the display_name column in the downtimes overview
refs #7843
This commit is contained in:
parent
ab6eed03e5
commit
86cc56afe6
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue