diff --git a/modules/monitoring/application/views/scripts/partials/object/host-header.phtml b/modules/monitoring/application/views/scripts/partials/object/host-header.phtml index 34315f964..22bafcc9b 100644 --- a/modules/monitoring/application/views/scripts/partials/object/host-header.phtml +++ b/modules/monitoring/application/views/scripts/partials/object/host-header.phtml @@ -17,7 +17,8 @@ use Icinga\Module\Monitoring\Object\Host; echo $this->iconImage()->host($object); echo '' . $this->escape($object->host_display_name) . ''; if ($object->host_display_name !== $object->host_name) { - echo ' (' . $this->escape($object->host_name) . ')'; + echo ' (' . $this->escape($object->host_name) + . ')'; } if ($object->host_alias !== $object->host_display_name && $object->host_alias !== $object->host_name) { echo '
' diff --git a/modules/monitoring/application/views/scripts/partials/object/service-header.phtml b/modules/monitoring/application/views/scripts/partials/object/service-header.phtml index bc23fcedb..aa4b14241 100644 --- a/modules/monitoring/application/views/scripts/partials/object/service-header.phtml +++ b/modules/monitoring/application/views/scripts/partials/object/service-header.phtml @@ -18,7 +18,8 @@ use Icinga\Module\Monitoring\Object\Service; echo $this->iconImage()->host($object); echo '' . $this->escape($object->host_display_name) . ''; if ($object->host_display_name !== $object->host_name) { - echo ' (' . $this->escape($object->host_name) . ')'; + echo ' (' . $this->escape($object->host_name) + . ')'; } echo $this->render('partials/host/statusicons.phtml'); if ($object->host_address6 && $object->host_address6 !== $object->host_name) { @@ -48,7 +49,8 @@ use Icinga\Module\Monitoring\Object\Service; echo $this->translate('Service') . ': ' . $this->escape($object->service_display_name) . ''; if ($object->service_display_name !== $object->service_description) { - echo ' (' . $this->escape($object->service_description) . ')'; + echo ' (' + . $this->escape($object->service_description) . ')'; } echo $this->render('partials/service/statusicons.phtml'); ?>