monitoring: Use host and service display_name for displaying host and service names in the eventhistory overview
refs #7843
This commit is contained in:
parent
3e702ac255
commit
7ff1948c1a
|
@ -110,16 +110,16 @@ use Icinga\Module\Monitoring\Object\Service;
|
|||
'host' => $event->host,
|
||||
'service' => $event->service
|
||||
)); ?>">
|
||||
<?= $this->escape($event->service) ?>
|
||||
<?= $this->escape($event->service_display_name) ?>
|
||||
</a>
|
||||
<small>
|
||||
<?= $this->translate('on') . ' ' . $this->escape($event->host) ?>
|
||||
<?= $this->translate('on') . ' ' . $this->escape($event->host_display_name) ?>
|
||||
</small>
|
||||
<?php else: ?>
|
||||
<a href="<?= $this->href('monitoring/show/host', array(
|
||||
'host' => $event->host
|
||||
)); ?>">
|
||||
<?= $this->escape($event->host) ?>
|
||||
<?= $this->escape($event->host_display_name) ?>
|
||||
</a>
|
||||
<?php endif ?>
|
||||
<br>
|
||||
|
|
Loading…
Reference in New Issue