parent
a368e87c02
commit
22d34b933a
|
@ -30,6 +30,7 @@ class IcingaServiceSetServiceTable extends QuickTable implements ValidHtml
|
||||||
'host_id' => 'ss.host_id',
|
'host_id' => 'ss.host_id',
|
||||||
'service_set' => 'ss.object_name',
|
'service_set' => 'ss.object_name',
|
||||||
'service' => 's.object_name',
|
'service' => 's.object_name',
|
||||||
|
'disabled' => 's.disabled',
|
||||||
'object_type' => 's.object_type',
|
'object_type' => 's.object_type',
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
@ -87,6 +88,15 @@ class IcingaServiceSetServiceTable extends QuickTable implements ValidHtml
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
protected function getRowClasses($row)
|
||||||
|
{
|
||||||
|
if ($row->disabled === 'y') {
|
||||||
|
return ['disabled'];
|
||||||
|
} else {
|
||||||
|
return array();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
public function getTitles()
|
public function getTitles()
|
||||||
{
|
{
|
||||||
$view = $this->view();
|
$view = $this->view();
|
||||||
|
|
Loading…
Reference in New Issue