-
Improvement
-
Resolution: Fixed
-
Minor
-
2.8
-
MOODLE_28_STABLE
-
MOODLE_28_STABLE
-
MDL-46022-master -
-
3
-
FRONTEND Sprint 12
As MDL-45893 is being developed based on custom_menu code, I think it'd be useful to have the ability to create dividers in regular custom_menus too. It is envisioned that you'd be able to specify dividers like this:
Moodle community|http://moodle.org
|
-Moodle free support|http://moodle.org/support
|
-####
|
-Moodle development|http://moodle.org/development
|
--Moodle Tracker|http://tracker.moodle.org
|
--Moodle Docs|http://docs.moodle.org
|
-Moodle News|http://moodle.org/news
|
####
|
Moodle company
|
-Moodle commercial hosting|http://moodle.com/hosting
|
-Moodle commercial support|http://moodle.com/support
|
...where a menu item with text of '####' and no URL will be given the class 'divider' at render time. I'd use the '-' character, but that'd conflict with our existing use of that to denote nesting level