mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-26 23:34:08 +02:00
Fixes Check now button
This commit is contained in:
parent
a0ec7c2396
commit
066ea782aa
@ -28,8 +28,6 @@ class CheckNowCommandForm extends ObjectsCommandForm
|
|||||||
*/
|
*/
|
||||||
public function addSubmitButton()
|
public function addSubmitButton()
|
||||||
{
|
{
|
||||||
$iconUrl = $this->getView()->href('img/icons/refresh_petrol.png');
|
|
||||||
|
|
||||||
$this->addElements(array(
|
$this->addElements(array(
|
||||||
array(
|
array(
|
||||||
'button',
|
'button',
|
||||||
@ -38,7 +36,7 @@ class CheckNowCommandForm extends ObjectsCommandForm
|
|||||||
'ignore' => true,
|
'ignore' => true,
|
||||||
'type' => 'submit',
|
'type' => 'submit',
|
||||||
'value' => mt('monitoring', 'Check now'),
|
'value' => mt('monitoring', 'Check now'),
|
||||||
'label' => '<img src="' . $iconUrl . '"> ' . mt('monitoring', 'Check now'),
|
'label' => '<i class="icon-reschedule"></i> ' . mt('monitoring', 'Check now'),
|
||||||
'decorators' => array('ViewHelper'),
|
'decorators' => array('ViewHelper'),
|
||||||
'escape' => false,
|
'escape' => false,
|
||||||
'class' => 'link-like'
|
'class' => 'link-like'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user