Merge pull request #2416 from creative-commoners/pulls/4.4/bootstrap-alert

FIX Use Bootstrap 4 alert for page type restriction message when adding a page
This commit is contained in:
Guy Marriott 2019-05-06 10:50:16 +12:00 committed by GitHub
commit a6bef876c0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -89,7 +89,7 @@ class CMSPageAddController extends CMSPageEditController
new LiteralField( new LiteralField(
'RestrictedNote', 'RestrictedNote',
sprintf( sprintf(
'<p class="message notice message-restricted">%s</p>', '<p class="alert alert-info message-restricted">%s</p>',
_t( _t(
'SilverStripe\\CMS\\Controllers\\CMSMain.AddPageRestriction', 'SilverStripe\\CMS\\Controllers\\CMSMain.AddPageRestriction',
'Note: Some page types are not allowed for this selection' 'Note: Some page types are not allowed for this selection'