Skip to content
Snippets Groups Projects
Commit 287fb20d authored by Alexander Bias's avatar Alexander Bias Committed by Kathrin Osswald
Browse files

Add comment about removing the indent in the mycourses nodes.

parent 026e5b8e
No related branches found
No related tags found
No related merge requests found
...@@ -249,6 +249,7 @@ function theme_boost_campus_process_flatnav(flat_navigation $flatnav) { ...@@ -249,6 +249,7 @@ function theme_boost_campus_process_flatnav(flat_navigation $flatnav) {
if ($mycourses = $flatnav->type(global_navigation::TYPE_COURSE)) { if ($mycourses = $flatnav->type(global_navigation::TYPE_COURSE)) {
foreach ($mycourses as $n) { foreach ($mycourses as $n) {
$n->icon = new pix_icon('i/course', ''); $n->icon = new pix_icon('i/course', '');
// Remove existing indent to align these nodes' icons with the other nodes' icons.
$n->set_indent(false); $n->set_indent(false);
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment