diff --git a/app/View/Elements/host_browser_menu.ctp b/app/View/Elements/host_browser_menu.ctp index 7e5f13d9e7..dd30de1f29 100644 --- a/app/View/Elements/host_browser_menu.ctp +++ b/app/View/Elements/host_browser_menu.ctp @@ -24,9 +24,12 @@ // confirmation. ?> - +request->params['action'] == 'browser' && $this->request->params['controller'] == 'hosts'): ?> + + + + Acl->hasPermission('view', 'documentations') && $host['Host']['host_type'] == GENERIC_HOST): ?> - +request->params['action'] == 'browser' && $this->request->params['controller'] == 'services'): ?> + + + + Acl->hasPermission('view', 'documentations') && $service['Service']['service_type'] == GENERIC_SERVICE): ?> -

+
Form->input('satellite_id', ['type' => 'hidden', 'value' => $service['Host']['satellite_id']]); ?> + + + +

@@ -599,44 +603,6 @@ - - -