mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-24 22:34:24 +02:00
monitoring: Remove the services tab when showing an object's history
refs #7998
This commit is contained in:
parent
646cffd62d
commit
b3e0851b62
@ -228,19 +228,6 @@ class Monitoring_ShowController extends Controller
|
|||||||
)
|
)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
$tabs->add(
|
|
||||||
'services',
|
|
||||||
array(
|
|
||||||
'title' => sprintf(
|
|
||||||
$this->translate('List all services on host %s'),
|
|
||||||
$isService ? $object->getHost()->getName() : $object->getName()
|
|
||||||
),
|
|
||||||
'label' => $this->translate('Services'),
|
|
||||||
'icon' => 'services',
|
|
||||||
'url' => 'monitoring/show/services',
|
|
||||||
'urlParams' => $params,
|
|
||||||
)
|
|
||||||
);
|
|
||||||
if ($this->backend->hasQuery('eventHistory')) {
|
if ($this->backend->hasQuery('eventHistory')) {
|
||||||
$tabs->add(
|
$tabs->add(
|
||||||
'history',
|
'history',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user