From 786ed2167ab0679285ea392547d83842b391009b Mon Sep 17 00:00:00 2001 From: Alexander Bias Date: Tue, 2 Apr 2024 21:08:58 +0200 Subject: [PATCH] Improvement: Enhance the activitynavigation setting description to cover section navigation as well, resolves #536. (#617) --- CHANGES.md | 1 + lang/en/theme_boost_union.php | 6 +++--- settings.php | 2 +- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/CHANGES.md b/CHANGES.md index 78550b8d09b..651d3676b63 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -6,6 +6,7 @@ Changes ### Unreleased +* 2024-04-01 - Improvement: Enhance the activitynavigation setting description to cover section navigation as well, resolves #536. * 2024-03-30 - Bugfix: Smart menu divider did not work for user menu submenus, resolves #537. * 2024-03-25 - Backport: Boost Union settings were moved to an admin settings category of its own to support the new theme chooser on Moodle 4.4, resolves #482. This change was backported to this Moodle major version. diff --git a/lang/en/theme_boost_union.php b/lang/en/theme_boost_union.php index a4796214101..7b39ad5893d 100644 --- a/lang/en/theme_boost_union.php +++ b/lang/en/theme_boost_union.php @@ -466,9 +466,9 @@ // ... ... Setting: Scroll-spy $string['scrollspysetting'] = 'Scroll-spy'; $string['scrollspysetting_desc'] = 'With this setting, upon toggling edit mode on and off, the scroll position at where the user was when performing the toggle is preserved.'; -// ... ... Setting: Activity navigation -$string['activitynavigationsetting'] = 'Activity navigation elements'; -$string['activitynavigationsetting_desc'] = 'With this setting the elements to jump to the previous and next activity/resource as well as the pull down menu to jump to a distinct activity/resource become displayed. UI elements like this existed already on Boost in Moodle Core until Moodle 3.11, but were removed in 4.0. With Boost Union, you can bring them back.'; +// ... ... Setting: Activity & section navigation +$string['activitynavigationsetting'] = 'Activity & section navigation elements'; +$string['activitynavigationsetting_desc'] = 'With this setting, the elements to jump to the previous and next activity/resource as well as the pull down menu to jump to a distinct activity/resource become displayed. Furthermore, within courses using the \'one section per page\' mode, similar elements for the previous and next section are displayed as well. UI elements like this existed already on Boost in Moodle Core until Moodle 3.11, but were removed in 4.0. With Boost Union, you can bring them back.'; // Settings: Blocks tab. $string['blockstab'] = 'Blocks'; diff --git a/settings.php b/settings.php index b181769fc88..9d996dfb398 100644 --- a/settings.php +++ b/settings.php @@ -1408,7 +1408,7 @@ $setting->set_updatedcallback('theme_reset_all_caches'); $tab->add($setting); - // Setting: Activity navigation. + // Setting: Activity & section navigation. $name = 'theme_boost_union/activitynavigation'; $title = get_string('activitynavigationsetting', 'theme_boost_union', null, true); $description = get_string('activitynavigationsetting_desc', 'theme_boost_union', null, true);