mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
Merge pull request #2004 from creative-commoners/pulls/4.0/warning-button-state-for-revert
FIX Add warning state to revert action in CMS page history
This commit is contained in:
commit
a46b5508a9
@ -202,7 +202,7 @@ class CMSPageHistoryController extends CMSMain
|
||||
_t('SilverStripe\\CMS\\Controllers\\CMSPageHistoryController.REVERTTOTHISVERSION', 'Revert to this version')
|
||||
)
|
||||
->setUseButtonTag(true)
|
||||
->addExtraClass('font-icon-back-in-time')
|
||||
->addExtraClass('btn-warning font-icon-back-in-time')
|
||||
);
|
||||
$actions->setForm($form);
|
||||
$form->setActions($actions);
|
||||
|
Loading…
Reference in New Issue
Block a user