From: toyomoyo Date: Mon, 15 Oct 2007 02:08:03 +0000 (+0000) Subject: merged fix for MDL-11717, adding dimmed_text a, to dim links as well X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=548bf94678e8541408b0ca94f0671f6e7fa89598;p=moodle.git merged fix for MDL-11717, adding dimmed_text a, to dim links as well --- diff --git a/grade/report/lib.php b/grade/report/lib.php index 31591958d9..a6db267b7a 100755 --- a/grade/report/lib.php +++ b/grade/report/lib.php @@ -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 '' . $modulename . ''; - } else { - return '' . $modulename . ''; - } + return '' . $modulename . ''; } return $modulename; diff --git a/theme/standard/styles_color.css b/theme/standard/styles_color.css index 1a5f703d51..f572aae2eb 100644 --- a/theme/standard/styles_color.css +++ b/theme/standard/styles_color.css @@ -152,7 +152,8 @@ table.formtable tbody th { background-color:#FFFFFF; } -.dimmed_text { +.dimmed_text, +.dimmed_text a { color:#AAAAAA; }