-
Bug
-
Resolution: Fixed
-
Minor
-
3.2, 3.3, 3.7.5, 3.8.2
-
MOODLE_32_STABLE, MOODLE_33_STABLE, MOODLE_37_STABLE, MOODLE_38_STABLE
-
MOODLE_37_STABLE, MOODLE_38_STABLE
-
MDL-58964-master -
Navigation node objects in the navigation tree have a "classes" attribute. With
$node->add_class('foo');
|
a developer is able to add additional classes to existing navigation node objects.
Unfortunately, the flat navigation in Boost's nav drawer does not output these classes because they are not output in the mustache template.
I propose to output these classes in Boost's flat navigation to allow developers to add additional classes to existing navigation nodes, for example within the *_extend_navigation() hook.
I classified this ticket as bug because it's rather a bug than an improvement and thereby it can be backported to 3.2
- has been marked as being related by
-
MDL-59425 Boost: Expose navigation node properties in the boost flat navigation items
- Closed