mirror of
https://github.com/Icinga/icingadb-web.git
synced 2026-05-28 04:36:06 -04:00
host/index: Utilize widget HostMetaInfo
This commit is contained in:
parent
0a5774c9dd
commit
6217d67b64
1 changed files with 2 additions and 0 deletions
|
|
@ -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()));
|
||||
|
|
|
|||
Loading…
Reference in a new issue