From 4d0632892bf1c4bc56041881fccb9e0ff9c1d5db Mon Sep 17 00:00:00 2001 From: Robbie Averill Date: Fri, 27 Oct 2017 17:32:00 +1300 Subject: [PATCH] FIX Add warning state to revert action in CMS page history --- code/Controllers/CMSPageHistoryController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/Controllers/CMSPageHistoryController.php b/code/Controllers/CMSPageHistoryController.php index 89180090..795a2829 100644 --- a/code/Controllers/CMSPageHistoryController.php +++ b/code/Controllers/CMSPageHistoryController.php @@ -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);