Skip to content
Browse files

Merge branch 'MDL-30498a_22' of git://github.com/timhunt/moodle into …

…MOODLE_22_STABLE
  • Loading branch information...
2 parents bb0ece5 + 4d8a37a commit 8c495ea4ee66d1c43dae1766386d3a3877658ccb Sam Hemelryk committed Dec 13, 2011
Showing with 4 additions and 8 deletions.
  1. +1 −1 grade/report/grader/lib.php
  2. +3 −7 grade/report/grader/styles.css
View
2 grade/report/grader/lib.php
@@ -627,7 +627,7 @@ public function get_left_rows() {
$usercell->scope = 'row';
if ($showuserimage) {
- $usercell->text = $OUTPUT->container($OUTPUT->user_picture($user), 'userpic');
+ $usercell->text = $OUTPUT->user_picture($user);
}
$usercell->text .= html_writer::link(new moodle_url('/user/view.php', array('id' => $user->id, 'course' => $this->course->id)), fullname($user));
View
10 grade/report/grader/styles.css
@@ -269,16 +269,12 @@ table#user-grades td.topleft {
background-color:#fff;
}
-.path-grade-report-grader div.userpic {
-margin-right:10px;
-float:left;
-}
-
-.path-grade-report-grader div.userpic img {
+.path-grade-report-grader th.user img {
border:3px double #cecece;
-vertical-align:middle;
+vertical-align:top;
width:2.7em;
height:2.7em;
+margin-right:10px;
}
.path-grade-report-grader a.quickedit {

0 comments on commit 8c495ea

Please sign in to comment.
Something went wrong with that request. Please try again.