Skip to content

Commit

Permalink
MDL-60363 conditional activities: Dim the icon also in student's view.
Browse files Browse the repository at this point in the history
The class dimmed_text would only dim the activity's title and not the icon.
The teacher has both, icon and text, dimmed. So I added the class dimmed
to the class dimmed_text, what dims both elements for the students.
  • Loading branch information
Kathrin84 committed Dec 22, 2017
1 parent 9993c1d commit e20b490
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion course/renderer.php
Original file line number Diff line number Diff line change
Expand Up @@ -647,7 +647,7 @@ protected function course_section_cm_classes(cm_info $mod) {
}
} else {
$linkclasses .= ' dimmed';
$textclasses .= ' dimmed_text';
$textclasses .= ' dimmed dimmed_text';
}
return array($linkclasses, $textclasses);
}
Expand Down

0 comments on commit e20b490

Please sign in to comment.