From 7212d35a8878ab95b998d2afdaa4e09ce99c424f Mon Sep 17 00:00:00 2001 From: Laurent David Date: Mon, 7 Apr 2025 07:19:22 +0200 Subject: [PATCH] MDL-81702 theme_boost: Remove site home link from drawers * The site-home-link was added to all menu drawers and should only be added to the main menu drawer (mobile version) --- theme/boost/templates/drawer.mustache | 9 +-------- .../templates/primary-drawer-mobile.mustache | 19 +++++++++++++------ 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/theme/boost/templates/drawer.mustache b/theme/boost/templates/drawer.mustache index 61fae12b199..496ee73cd4d 100644 --- a/theme/boost/templates/drawer.mustache +++ b/theme/boost/templates/drawer.mustache @@ -47,14 +47,7 @@ > {{#pix}} e/cancel, core {{/pix}} - - {{$drawerheading}}{{/drawerheading}} - + {{$drawerheading}}{{/drawerheading}} diff --git a/theme/boost/templates/primary-drawer-mobile.mustache b/theme/boost/templates/primary-drawer-mobile.mustache index e4282de1e87..fe7d27f6b51 100644 --- a/theme/boost/templates/primary-drawer-mobile.mustache +++ b/theme/boost/templates/primary-drawer-mobile.mustache @@ -51,12 +51,19 @@ {{$drawerclasses}}drawer drawer-left drawer-primary{{/drawerclasses}} {{$drawercloseonresize}}1{{/drawercloseonresize}} {{$drawerheading}} - {{# output.should_display_navbar_logo }} - - {{/ output.should_display_navbar_logo }} - {{^ output.should_display_navbar_logo }} - {{{ sitename }}} - {{/ output.should_display_navbar_logo }} + + {{# output.should_display_navbar_logo }} + + {{/ output.should_display_navbar_logo }} + {{^ output.should_display_navbar_logo }} + {{{ sitename }}} + {{/ output.should_display_navbar_logo }} + {{/drawerheading}} {{$drawercontent}}