diff --git a/modules/monitoring/application/views/scripts/show/components/command.phtml b/modules/monitoring/application/views/scripts/show/components/command.phtml
index 432261bc1..2ec232ce3 100644
--- a/modules/monitoring/application/views/scripts/show/components/command.phtml
+++ b/modules/monitoring/application/views/scripts/show/components/command.phtml
@@ -5,10 +5,12 @@ $command = array_shift($parts);
?>
+
= $this->translate('Instance'); ?> |
= $this->escape($object->instance_name); ?> |
+
= $this->translate('Command'); ?> |
diff --git a/modules/monitoring/library/Monitoring/Web/Controller/MonitoredObjectController.php b/modules/monitoring/library/Monitoring/Web/Controller/MonitoredObjectController.php
index 7b8785a9c..5ccadf5a6 100644
--- a/modules/monitoring/library/Monitoring/Web/Controller/MonitoredObjectController.php
+++ b/modules/monitoring/library/Monitoring/Web/Controller/MonitoredObjectController.php
@@ -91,6 +91,7 @@ abstract class MonitoredObjectController extends Controller
$delDowntimeForm->handleRequest();
$this->view->delDowntimeForm = $delDowntimeForm;
}
+ $this->view->showInstance = $this->backend->select()->from('instance')->count() > 1;
$this->view->object = $this->object;
}
|