mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
FIX Use Bootstrap 4 alert for page type restriction message when adding a page
Bootstrap 4 alerts are the default in SilverStripe 4.4, this one is custom so was missed during the update
This commit is contained in:
parent
9ab7ae16ac
commit
7cfa771681
@ -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'
|
||||||
|
Loading…
Reference in New Issue
Block a user