mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
FIX Add warning state to revert action in CMS page history
This commit is contained in:
parent
cb0c00440a
commit
4d0632892b
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user