From 7cfa771681080dceef0ed52065bfa84e5c5eb00b Mon Sep 17 00:00:00 2001 From: Robbie Averill Date: Fri, 3 May 2019 15:35:08 +1200 Subject: [PATCH] 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 --- code/Controllers/CMSPageAddController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/Controllers/CMSPageAddController.php b/code/Controllers/CMSPageAddController.php index afe89ecc..47f1009b 100644 --- a/code/Controllers/CMSPageAddController.php +++ b/code/Controllers/CMSPageAddController.php @@ -89,7 +89,7 @@ class CMSPageAddController extends CMSPageEditController new LiteralField( 'RestrictedNote', sprintf( - '

%s

', + '

%s

', _t( 'SilverStripe\\CMS\\Controllers\\CMSMain.AddPageRestriction', 'Note: Some page types are not allowed for this selection'