mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
MINOR Button styling for "Settings" form
This commit is contained in:
parent
5167e394d4
commit
1301df00d6
@ -129,12 +129,13 @@ class SiteConfig extends DataObject implements PermissionProvider {
|
||||
function getCMSActions() {
|
||||
if (Permission::check('ADMIN') || Permission::check('EDIT_SITECONFIG')) {
|
||||
$actions = new FieldList(
|
||||
new FormAction('save_siteconfig', _t('CMSMain.SAVE','Save'))
|
||||
$saveAction = new FormAction('save_siteconfig', _t('CMSMain.SAVE','Save'))
|
||||
);
|
||||
} else {
|
||||
$actions = new FieldList();
|
||||
}
|
||||
|
||||
$saveAction->addExtraClass('ss-ui-action-constructive');
|
||||
$this->extend('updateCMSActions', $actions);
|
||||
|
||||
return $actions;
|
||||
|
Loading…
Reference in New Issue
Block a user