mirror of
https://github.com/moodle/moodle.git
synced 2025-04-21 00:12:56 +02:00
MDL-60363 conditional activities: Dim the icon also in student's view.
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.
This commit is contained in:
parent
9993c1d02c
commit
e20b490da3
@ -647,7 +647,7 @@ class core_course_renderer extends plugin_renderer_base {
|
||||
}
|
||||
} else {
|
||||
$linkclasses .= ' dimmed';
|
||||
$textclasses .= ' dimmed_text';
|
||||
$textclasses .= ' dimmed dimmed_text';
|
||||
}
|
||||
return array($linkclasses, $textclasses);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user