FIX Borders on CMS Actions

This commit is contained in:
Daniel Hensby 2016-01-26 14:42:41 +00:00
parent 0eb4b8e256
commit b1b403cd08

View File

@ -2213,7 +2213,7 @@ class SiteTree extends DataObject implements PermissionProvider,i18nEntityProvid
$existsOnLive = $this->getExistsOnLive(); $existsOnLive = $this->getExistsOnLive();
// Major actions appear as buttons immediately visible as page actions. // Major actions appear as buttons immediately visible as page actions.
$majorActions = CompositeField::create()->setName('MajorActions')->setTag('fieldset')->addExtraClass('ss-ui-buttonset'); $majorActions = CompositeField::create()->setName('MajorActions')->setTag('fieldset')->addExtraClass('ss-ui-buttonset noborder');
// Minor options are hidden behind a drop-up and appear as links (although they are still FormActions). // Minor options are hidden behind a drop-up and appear as links (although they are still FormActions).
$rootTabSet = new TabSet('ActionMenus'); $rootTabSet = new TabSet('ActionMenus');
@ -2222,7 +2222,7 @@ class SiteTree extends DataObject implements PermissionProvider,i18nEntityProvid
_t('SiteTree.MoreOptions', 'More options', 'Expands a view for more buttons') _t('SiteTree.MoreOptions', 'More options', 'Expands a view for more buttons')
); );
$rootTabSet->push($moreOptions); $rootTabSet->push($moreOptions);
$rootTabSet->addExtraClass('ss-ui-action-tabset action-menus'); $rootTabSet->addExtraClass('ss-ui-action-tabset action-menus noborder');
// Render page information into the "more-options" drop-up, on the top. // Render page information into the "more-options" drop-up, on the top.
$live = Versioned::get_one_by_stage('SiteTree', 'Live', array( $live = Versioned::get_one_by_stage('SiteTree', 'Live', array(