IcingaServiceTable: fix apply links

This commit is contained in:
Thomas Gelf 2016-03-26 16:15:26 +01:00
parent 1670a05b50
commit 5a725a45eb
1 changed files with 4 additions and 4 deletions

View File

@ -48,8 +48,8 @@ class IcingaServiceTable extends QuickTable
if ($row->check_command_id) { if ($row->check_command_id) {
$htm .= ' ' . $v->qlink( $htm .= ' ' . $v->qlink(
'Create apply-rule', 'Create apply-rule',
'director/service/apply', 'director/service/add',
array('template' => $row->service), array('apply' => $row->service),
array('class' => 'icon-plus') array('class' => 'icon-plus')
); );
} }
@ -64,8 +64,8 @@ class IcingaServiceTable extends QuickTable
$htm .= '</ul>'; $htm .= '</ul>';
$htm .= $v->qlink( $htm .= $v->qlink(
'Add more', 'Add more',
'director/service/apply', 'director/service/add',
array('template' => $row->service), array('apply' => $row->service),
array('class' => 'icon-plus') array('class' => 'icon-plus')
); );
} }