monitoring: Show service_description in the detail area too if it's different from the display_name

refs #7843
This commit is contained in:
Eric Lippmann 2015-01-22 10:30:55 +01:00
parent ed7dc1beb6
commit e61edaaffb
1 changed files with 3 additions and 0 deletions

View File

@ -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>