FIX Add warning state to revert action in CMS page history

This commit is contained in:
Robbie Averill 2017-10-27 17:32:00 +13:00
parent cb0c00440a
commit 4d0632892b

View File

@ -202,7 +202,7 @@ class CMSPageHistoryController extends CMSMain
_t('SilverStripe\\CMS\\Controllers\\CMSPageHistoryController.REVERTTOTHISVERSION', 'Revert to this version') _t('SilverStripe\\CMS\\Controllers\\CMSPageHistoryController.REVERTTOTHISVERSION', 'Revert to this version')
) )
->setUseButtonTag(true) ->setUseButtonTag(true)
->addExtraClass('font-icon-back-in-time') ->addExtraClass('btn-warning font-icon-back-in-time')
); );
$actions->setForm($form); $actions->setForm($form);
$form->setActions($actions); $form->setActions($actions);