From 8be7d9a52fd230abe37aba561142a07ace750abb Mon Sep 17 00:00:00 2001 From: Damyon Wiese Date: Wed, 5 Sep 2018 13:14:31 +0800 Subject: [PATCH] MDL-62145 theme_boost: Custom menu fixes Make sure the site navigation element is labelled, actionmenu items have correct role and actionmenu trigger controls the menu. --- lang/en/admin.php | 1 + theme/boost/templates/core/custom_menu_item.mustache | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/lang/en/admin.php b/lang/en/admin.php index 241082ee4e5..896e577deb2 100644 --- a/lang/en/admin.php +++ b/lang/en/admin.php @@ -1045,6 +1045,7 @@ $string['showdetails'] = 'Show details'; $string['showuseridentity'] = 'Show user identity'; $string['showuseridentity_desc'] = 'When selecting or searching for users, and when displaying lists of users, these fields may be shown in addition to their full name. The fields are only shown to users who have the moodle/site:viewuseridentity capability; by default, teachers and managers. (This option makes most sense if you choose one or two fields that are mandatory at your institution.)'; $string['simplexmlrequired'] = 'The SimpleXML PHP extension is now required by Moodle.'; +$string['sitemenubar'] = 'Site navigation'; $string['sitemailcharset'] = 'Character set'; $string['sitemaintenance'] = 'The site is undergoing maintenance and is currently not available'; $string['sitemaintenancemode'] = 'Maintenance mode'; diff --git a/theme/boost/templates/core/custom_menu_item.mustache b/theme/boost/templates/core/custom_menu_item.mustache index 1dc748b98a1..aa3f1176279 100644 --- a/theme/boost/templates/core/custom_menu_item.mustache +++ b/theme/boost/templates/core/custom_menu_item.mustache @@ -1,13 +1,13 @@ {{^divider}} {{#haschildren}}