mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-04-08 17:15:08 +02:00
parent
c2ee3bef06
commit
467fc79095
@ -84,7 +84,10 @@ abstract class MonitoredObjectController extends Controller
|
||||
$this->view->extensionsHtml = array();
|
||||
foreach (Hook::all('Monitoring\DetailviewExtension') as $hook) {
|
||||
/** @var DetailviewExtensionHook $hook */
|
||||
$this->view->extensionsHtml[] = $hook->setView($this->view)->getHtmlForObject($this->object);
|
||||
$this->view->extensionsHtml[] =
|
||||
'<div class="icinga-module module-' . $this->view->escape($hook->getModule()->getName()) . '">'
|
||||
. $hook->setView($this->view)->getHtmlForObject($this->object)
|
||||
. '</div>';
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user