From 6217d67b64d99b236c291cef376c62a70ca3fc89 Mon Sep 17 00:00:00 2001 From: Johannes Meyer Date: Wed, 5 May 2021 17:55:44 +0200 Subject: [PATCH] host/index: Utilize widget `HostMetaInfo` --- application/controllers/HostController.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/application/controllers/HostController.php b/application/controllers/HostController.php index 9eaf208a..b2f8f742 100644 --- a/application/controllers/HostController.php +++ b/application/controllers/HostController.php @@ -17,6 +17,7 @@ use Icinga\Module\Icingadb\Model\ServicestateSummary; use Icinga\Module\Icingadb\Web\Controller; use Icinga\Module\Icingadb\Widget\Detail\HostDetail; use Icinga\Module\Icingadb\Widget\Detail\HostInspectionDetail; +use Icinga\Module\Icingadb\Widget\Detail\HostMetaInfo; use Icinga\Module\Icingadb\Widget\Detail\QuickActions; use Icinga\Module\Icingadb\Widget\DowntimeList; use Icinga\Module\Icingadb\Widget\HostList; @@ -69,6 +70,7 @@ class HostController extends Controller ->setViewMode('minimal') ->setDetailActionsDisabled() ->setNoSubjectLink()); + $this->addControl(new HostMetaInfo($this->host)); $this->addControl(new QuickActions($this->host)); $this->addContent(new HostDetail($this->host, $serviceSummary->first()));