mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
FIX Fine-tune button styles
This commit is contained in:
parent
06fda1a9bf
commit
4f3b4f7626
@ -200,7 +200,9 @@ class CMSPageHistoryController extends CMSMain
|
||||
$revert = FormAction::create(
|
||||
'doRollback',
|
||||
_t('SilverStripe\\CMS\\Controllers\\CMSPageHistoryController.REVERTTOTHISVERSION', 'Revert to this version')
|
||||
)->setUseButtonTag(true)
|
||||
)
|
||||
->setUseButtonTag(true)
|
||||
->addExtraClass('font-icon-back-in-time')
|
||||
);
|
||||
$actions->setForm($form);
|
||||
$form->setActions($actions);
|
||||
|
@ -2253,7 +2253,7 @@ class SiteTree extends DataObject implements PermissionProvider, i18nEntityProvi
|
||||
}
|
||||
|
||||
// "save", supports an alternate state that is still clickable, but notifies the user that the action is not needed.
|
||||
$noChangesClasses = 'btn-outline-secondary font-icon-check-mark';
|
||||
$noChangesClasses = 'btn-outline-primary font-icon-tick';
|
||||
if ($canEdit && $isOnDraft) {
|
||||
$majorActions->push(
|
||||
FormAction::create('save', _t(__CLASS__.'.BUTTONSAVED', 'Saved'))
|
||||
|
Loading…
Reference in New Issue
Block a user