diff -u b/core/includes/menu.inc b/core/includes/menu.inc --- b/core/includes/menu.inc +++ b/core/includes/menu.inc @@ -34,7 +34,7 @@ $link_text = $link['title']; if (!empty($variables['element']['#active'])) { - $variables['is-active'] = TRUE; + $variables['is_active'] = TRUE; // Add text to indicate active tab for non-visual users. $active = SafeMarkup::format('@label', array('@label' => t('(active tab)'))); diff -u b/core/modules/system/templates/menu-local-task.html.twig b/core/modules/system/templates/menu-local-task.html.twig --- b/core/modules/system/templates/menu-local-task.html.twig +++ b/core/modules/system/templates/menu-local-task.html.twig @@ -5,7 +5,7 @@ * * Available variables: * - attributes: HTML attributes for the wrapper element. - * - active: Whether the task item is an active tab. + * - is_active: Whether the task item is an active tab. * - link: A rendered link element. * * Note: This template renders the content for each task item in diff -u b/core/themes/classy/templates/navigation/menu-local-task.html.twig b/core/themes/classy/templates/navigation/menu-local-task.html.twig --- b/core/themes/classy/templates/navigation/menu-local-task.html.twig +++ b/core/themes/classy/templates/navigation/menu-local-task.html.twig @@ -5,7 +5,7 @@ * * Available variables: * - attributes: HTML attributes for the wrapper element. - * - is-active: Whether the task item is an active tab. + * - is_active: Whether the task item is an active tab. * - link: A rendered link element. * * Note: This template renders the content for each task item in @@ -17 +17 @@ -{{ link }} +{{ link }} only in patch2: unchanged: --- a/core/modules/system/templates/html.html.twig +++ b/core/modules/system/templates/html.html.twig @@ -23,6 +23,7 @@ * - styles: Style tags necessary to import all necessary CSS files in the head. * - scripts: Script tags necessary to load the JavaScript files and settings * in the head. + * - db_offline: A flag indicating if the database is offline. * * @see template_preprocess_html() * only in patch2: unchanged: --- a/core/themes/classy/templates/layout/html.html.twig +++ b/core/themes/classy/templates/layout/html.html.twig @@ -23,6 +23,7 @@ * - styles: Style tags necessary to import all necessary CSS files in the head. * - scripts: Script tags necessary to load the JavaScript files and settings * in the head. + * - db_offline: A flag indicating if the database is offline. * * @see template_preprocess_html() */ @@ -32,6 +33,7 @@ logged_in ? 'user-logged-in', not root_path ? 'path-frontpage' : 'path-' ~ root_path|clean_class, node_type ? 'node--type-' ~ node_type|clean_class, + db_offline ? 'db-offline' ] %}