mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-26 07:14:35 +02:00
monitoring: Use host_display_name for displaying the host name in the services overview
refs #7843
This commit is contained in:
parent
3bb5a9c702
commit
23243d40e3
@ -107,7 +107,7 @@ foreach ($services as $service):
|
|||||||
<?php if ($service->service_icon_image && ! preg_match('/[\'"]/', $service->service_icon_image)): ?>
|
<?php if ($service->service_icon_image && ! preg_match('/[\'"]/', $service->service_icon_image)): ?>
|
||||||
<?= $this->icon($this->resolveMacros($service->service_icon_image, $service)) ?>
|
<?= $this->icon($this->resolveMacros($service->service_icon_image, $service)) ?>
|
||||||
<?php endif ?>
|
<?php endif ?>
|
||||||
<a href="<?= $serviceLink ?>"><?= $service->service_display_name ?></a><?php if ($this->showHost): ?> on <a href="<?= $hostLink ?>"><?= $service->host_name; ?>
|
<a href="<?= $serviceLink ?>"><?= $service->service_display_name ?></a><?php if ($this->showHost): ?> on <a href="<?= $hostLink ?>"><?= $service->host_display_name; ?>
|
||||||
<?php if ($service->host_state != 0): ?>
|
<?php if ($service->host_state != 0): ?>
|
||||||
(<?= strtoupper(Host::getStateText($service->host_state, true)); ?>)
|
(<?= strtoupper(Host::getStateText($service->host_state, true)); ?>)
|
||||||
<?php endif ?>
|
<?php endif ?>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user