Skip to content

Commit

Permalink
Improvement: Enhance the activitynavigation setting description to co…
Browse files Browse the repository at this point in the history
…ver section navigation as well, resolves #536. (#617)
  • Loading branch information
abias committed Apr 6, 2024
1 parent 270da45 commit 786ed21
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
6 changes: 3 additions & 3 deletions lang/en/theme_boost_union.php
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down
2 changes: 1 addition & 1 deletion settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 786ed21

Please sign in to comment.