merged fix for MDL-11717, adding dimmed_text a, to dim links as well

This commit is contained in:
toyomoyo
2007-10-15 02:08:03 +00:00
parent 2958e18586
commit 548bf94678
2 changed files with 3 additions and 6 deletions
+1 -5
View File
@@ -362,11 +362,7 @@ class grade_report {
}
$url .= "?id=$coursemodule->id";
if ($itemhidden && has_capability('moodle/grade:viewhidden', get_context_instance(CONTEXT_COURSE, $coursemodule->course))) {
return '<a href="' . $url . '"><span class="dimmed_text">' . $modulename . '</div></a>';
} else {
return '<a href="' . $url . '">' . $modulename . '</a>';
}
return '<a href="' . $url . '">' . $modulename . '</a>';
}
return $modulename;
+2 -1
View File
@@ -152,7 +152,8 @@ table.formtable tbody th {
background-color:#FFFFFF;
}
.dimmed_text {
.dimmed_text,
.dimmed_text a {
color:#AAAAAA;
}