diff --git a/application/tables/IcingaServiceTable.php b/application/tables/IcingaServiceTable.php index 00736eab..30a8b4bd 100644 --- a/application/tables/IcingaServiceTable.php +++ b/application/tables/IcingaServiceTable.php @@ -2,6 +2,9 @@ namespace Icinga\Module\Director\Tables; +use Icinga\Data\Filter\Filter; +use Icinga\Exception\IcingaException; +use Icinga\Module\Director\IcingaConfig\AssignRenderer; use Icinga\Module\Director\Web\Table\QuickTable; class IcingaServiceTable extends QuickTable @@ -13,9 +16,9 @@ class IcingaServiceTable extends QuickTable public function getColumns() { return array( - 'id' => 's.id', - 'service' => 's.object_name', - 'object_type' => 's.object_type', + 'id' => 's.id', + 'service' => 's.object_name', + 'object_type' => 's.object_type', 'check_command_id' => 's.check_command_id', ); } @@ -47,21 +50,34 @@ class IcingaServiceTable extends QuickTable if (empty($extra)) { if ($row->check_command_id) { $htm .= ' ' . $v->qlink( - 'Create apply-rule', - 'director/service/add', - array('apply' => $row->service), - array('class' => 'icon-plus') - ); + 'Create apply-rule', + 'director/service/add', + array('apply' => $row->service), + array('class' => 'icon-plus') + ); } } else { - $htm .= '. Related apply rules: