mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
Merge pull request #2088 from open-sausages/pulls/4.0/daft-draft
Add missing button styles to restore draft action
This commit is contained in:
commit
98d1456384
@ -2287,7 +2287,8 @@ class SiteTree extends DataObject implements PermissionProvider, i18nEntityProvi
|
|||||||
FormAction::create('restore', $title)
|
FormAction::create('restore', $title)
|
||||||
->setDescription($description)
|
->setDescription($description)
|
||||||
->setAttribute('data-to-root', $restoreToRoot)
|
->setAttribute('data-to-root', $restoreToRoot)
|
||||||
->setAttribute('data-icon', 'decline')
|
->addExtraClass('btn-warning font-icon-back-in-time')
|
||||||
|
->setUseButtonTag(true)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user