diff --git a/core/lib/Drupal/Core/Extension/ThemeHandler.php b/core/lib/Drupal/Core/Extension/ThemeHandler.php index 57a317e..3bfca86 100644 --- a/core/lib/Drupal/Core/Extension/ThemeHandler.php +++ b/core/lib/Drupal/Core/Extension/ThemeHandler.php @@ -452,7 +452,7 @@ public function rebuildThemeData() { 'secondary_menu' => 'Secondary menu', 'footer' => 'Footer', 'highlighted' => 'Highlighted', - 'messages' => 'Messages', + 'highlighted' => 'Highlighted', 'help' => 'Help', 'page_top' => 'Page top', 'page_bottom' => 'Page bottom', diff --git a/core/profiles/standard/config/install/block.block.bartik_messages.yml b/core/profiles/standard/config/install/block.block.bartik_messages.yml index 1d817dd..c23d39e 100644 --- a/core/profiles/standard/config/install/block.block.bartik_messages.yml +++ b/core/profiles/standard/config/install/block.block.bartik_messages.yml @@ -3,7 +3,7 @@ theme: bartik weight: 0 status: true langcode: en -region: messages +region: highlighted plugin: system_messages_block settings: id: system_messages_block diff --git a/core/themes/bartik/bartik.info.yml b/core/themes/bartik/bartik.info.yml index c96aae7..69bbcb6 100644 --- a/core/themes/bartik/bartik.info.yml +++ b/core/themes/bartik/bartik.info.yml @@ -19,7 +19,7 @@ regions: help: Help page_top: 'Page top' page_bottom: 'Page bottom' - messages: Messages + highlighted: 'Highlighted' featured_top: 'Featured top' breadcrumb: Breadcrumb content: Content diff --git a/core/themes/bartik/templates/maintenance-page.html.twig b/core/themes/bartik/templates/maintenance-page.html.twig index c4eae01..06f344e 100644 --- a/core/themes/bartik/templates/maintenance-page.html.twig +++ b/core/themes/bartik/templates/maintenance-page.html.twig @@ -39,7 +39,7 @@

{{ title }}

{% endif %} {{ page.content }} - {{ page.messages }} + {{ page.highlighted }} diff --git a/core/themes/bartik/templates/page.html.twig b/core/themes/bartik/templates/page.html.twig index 60b2885..9e070d3 100644 --- a/core/themes/bartik/templates/page.html.twig +++ b/core/themes/bartik/templates/page.html.twig @@ -49,7 +49,7 @@ * * Regions: * - page.header: Items for the header region. - * - page.messages: Status and error messages. Should be displayed prominently. + * - page.highlighted: Items for the highlighted region. * - page.primary_menu: Items for the primary menu region. * - page.secondary_menu: Items for the secondary menu region. * - page.featured_top: Items for the featured top region. @@ -109,7 +109,13 @@ {{ page.primary_menu }} - {{ page.messages }} + {% if page.highlighted %} +
+ +
+ {% endif %} {% if page.featured_top %}