monitoring: Show host_name in the detail area too if it's different from the display_name
refs #7843
This commit is contained in:
parent
3d306c0a06
commit
9e5d7f43ff
|
@ -19,6 +19,9 @@ $isService = $object->getType() === $object::TYPE_SERVICE;
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<b><?= $this->escape($object->host_display_name) ?></b>
|
<b><?= $this->escape($object->host_display_name) ?></b>
|
||||||
|
<?php if ($object->host_display_name !== $object->host_name): ?>
|
||||||
|
<small>(<?= $this->escape($object->host_name) ?>)</small>
|
||||||
|
<?php endif ?>
|
||||||
<?php if ($object->host_address && $object->host_address !== $object->host_name): ?>
|
<?php if ($object->host_address && $object->host_address !== $object->host_name): ?>
|
||||||
<br>
|
<br>
|
||||||
<?= $this->escape($object->host_address) ?>
|
<?= $this->escape($object->host_address) ?>
|
||||||
|
|
Loading…
Reference in New Issue