monitoring: Show service_description in the detail area too if it's different from the display_name
refs #7843
This commit is contained in:
parent
ed7dc1beb6
commit
e61edaaffb
|
@ -32,6 +32,9 @@ $isService = $object->getType() === $object::TYPE_SERVICE;
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<b><?= $this->translate('Service') ?>: <?= $this->escape($object->service_display_name) ?></b>
|
<b><?= $this->translate('Service') ?>: <?= $this->escape($object->service_display_name) ?></b>
|
||||||
|
<?php if ($object->service_display_name !== $object->service_description): ?>
|
||||||
|
<small>(<?= $this->escape($object->service_description) ?>)</small>
|
||||||
|
<?php endif ?>
|
||||||
<?= $this->render('show/components/statusIcons.phtml') ?>
|
<?= $this->render('show/components/statusIcons.phtml') ?>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
Loading…
Reference in New Issue