mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-26 23:34:08 +02:00
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,
|
'host' => $event->host,
|
||||||
'service' => $event->service
|
'service' => $event->service
|
||||||
)); ?>">
|
)); ?>">
|
||||||
<?= $this->escape($event->service) ?>
|
<?= $this->escape($event->service_display_name) ?>
|
||||||
</a>
|
</a>
|
||||||
<small>
|
<small>
|
||||||
<?= $this->translate('on') . ' ' . $this->escape($event->host) ?>
|
<?= $this->translate('on') . ' ' . $this->escape($event->host_display_name) ?>
|
||||||
</small>
|
</small>
|
||||||
<?php else: ?>
|
<?php else: ?>
|
||||||
<a href="<?= $this->href('monitoring/show/host', array(
|
<a href="<?= $this->href('monitoring/show/host', array(
|
||||||
'host' => $event->host
|
'host' => $event->host
|
||||||
)); ?>">
|
)); ?>">
|
||||||
<?= $this->escape($event->host) ?>
|
<?= $this->escape($event->host_display_name) ?>
|
||||||
</a>
|
</a>
|
||||||
<?php endif ?>
|
<?php endif ?>
|
||||||
<br>
|
<br>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user