Fixes Check now button

This commit is contained in:
Bernd Erk 2014-11-19 13:48:56 +01:00
parent a0ec7c2396
commit 066ea782aa
1 changed files with 1 additions and 3 deletions

View File

@ -28,8 +28,6 @@ class CheckNowCommandForm extends ObjectsCommandForm
*/
public function addSubmitButton()
{
$iconUrl = $this->getView()->href('img/icons/refresh_petrol.png');
$this->addElements(array(
array(
'button',
@ -38,7 +36,7 @@ class CheckNowCommandForm extends ObjectsCommandForm
'ignore' => true,
'type' => 'submit',
'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'),
'escape' => false,
'class' => 'link-like'