mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-06-08 16:00:11 +02:00
monitoring/commands: Fix object command forms code compliance
refs #6593
This commit is contained in:
parent
e5e806a3a1
commit
442f956945
@ -34,15 +34,10 @@ class CheckNowCommandForm extends ObjectsCommandForm
|
|||||||
'note',
|
'note',
|
||||||
'icon',
|
'icon',
|
||||||
array(
|
array(
|
||||||
'decorators' => array(
|
'decorators' => array(array(
|
||||||
array(
|
|
||||||
'HtmlTag',
|
'HtmlTag',
|
||||||
array(
|
array('tag' => 'img', 'src' => $this->getView()->href('img/icons/refresh_petrol.png'))
|
||||||
'tag' => 'img',
|
))
|
||||||
'src' => $this->getView()->href('img/icons/refresh_petrol.png'),
|
|
||||||
)
|
|
||||||
)
|
|
||||||
)
|
|
||||||
)
|
)
|
||||||
),
|
),
|
||||||
array(
|
array(
|
||||||
@ -51,9 +46,7 @@ class CheckNowCommandForm extends ObjectsCommandForm
|
|||||||
array(
|
array(
|
||||||
'ignore' => true,
|
'ignore' => true,
|
||||||
'label' => mt('monitoring', 'Check Now'),
|
'label' => mt('monitoring', 'Check Now'),
|
||||||
'decorators' => array(
|
'decorators' => array('ViewHelper')
|
||||||
'ViewHelper'
|
|
||||||
)
|
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
));
|
));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user