Permalink
Browse files

Merge branch 'm25_MDL-37968' of git://github.com/danmarsden/moodle in…

…to MOODLE_25_STABLE
  • Loading branch information...
2 parents 7b9caeb + ff3a54a commit c9d1c4993db8f40aaf29f0ec78fb90b8c9c311c6 @danpoltawski danpoltawski committed Jun 10, 2013
Showing with 3 additions and 0 deletions.
  1. +3 −0 blocks/course_overview/renderer.php
@@ -103,6 +103,9 @@ public function course_overview($courses, $overviews) {
// No need to pass title through s() here as it will be done automatically by html_writer.
$attributes = array('title' => $course->fullname);
+ if (empty($course->visible)) {
+ $attributes['class'] = 'dimmed';
+ }
if ($course->id > 0) {
$courseurl = new moodle_url('/course/view.php', array('id' => $course->id));
$coursefullname = format_string($course->fullname, true, $course->id);

0 comments on commit c9d1c49

Please sign in to comment.