-
Bug
-
Resolution: Fixed
-
Minor
-
3.3
-
MOODLE_33_STABLE
-
MOODLE_33_STABLE
-
MDL-58808-master -
In MDL-40759 FontAwesome was added as an icon system to be used by a theme if desired. The title of the issue is 'Use the Font Awesome icon font for all icons in Moodle' however the AJAX processing of the response processed in /blocks/navigation/amd/src/ajax_response_header.js:
{code}
if (node.icon && (!isBranch || node.type === NODETYPE.ACTIVITY || node.type === NODETYPE.RESOURCE)) {
li.addClass('item_with_icon');
p.addClass('hasicon');
icon = $('<img/>');
icon.attr('alt', node.icon.alt);
icon.attr('title', node.icon.title);
icon.attr('src', M.util.image_url(node.icon.pix, node.icon.component));
$.each(node.icon.classes, function(index, className) {
icon.addClass(className);
});
}
{code}
ignores this and injects an image directly rather than implementing the intent of the theme configuration setting: $THEME->iconsystem = \core\output\icon_system::FONTAWESOME;
Therefore 'Use the Font Awesome icon font for all icons in Moodle' is false and incomplete.
- caused a regression
-
MDL-59545 Missing editing icons on activity pages
-
- Closed
-
- has been marked as being related by
-
MDL-58848 Block docking not using FontAwesome when set by the theme.
-
- Closed
-
-
MDL-58849 Block hide / show not using FontAwesome when set by the theme.
-
- Closed
-
-
MDL-58850 Block expand / collapse not using FontAwesome when set by the theme.
-
- Closed
-
- Testing discovered
-
MDL-59276 Navigation tree produces identical ids for all course participants nodes
-
- Closed
-
-
MDL-59277 navigation_node doesn't support TYPE_CONTAINER in get_css_type()
-
- Closed
-
-
MDL-59329 Navigation and administration icons don't line up when FontAwesome enabled in a theme
-
- Closed
-
-
MDL-40759 Use the Font Awesome icon font for all icons in Moodle
-
- Closed
-