monitoring: Use display_name for displaying the host name in the detail area
refs #7843
This commit is contained in:
parent
4539462bc7
commit
3d306c0a06
|
@ -18,9 +18,10 @@ $isService = $object->getType() === $object::TYPE_SERVICE;
|
||||||
<?= $this->prefixedTimeSince($object->host_last_state_change, true) ?>
|
<?= $this->prefixedTimeSince($object->host_last_state_change, true) ?>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<b><?= $this->escape($object->host_name) ?></b>
|
<b><?= $this->escape($object->host_display_name) ?></b>
|
||||||
<?php if ($object->host_address && $object->host_address !== $object->host_name): ?>
|
<?php if ($object->host_address && $object->host_address !== $object->host_name): ?>
|
||||||
<br><?= $this->escape($object->host_address) ?>
|
<br>
|
||||||
|
<?= $this->escape($object->host_address) ?>
|
||||||
<?php endif ?>
|
<?php endif ?>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
Loading…
Reference in New Issue