mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 08:26:37 +02:00
MDL-11954 grader report links to profiles from the same course
This commit is contained in:
parent
18f2700959
commit
8f2ddadac4
1 changed files with 3 additions and 3 deletions
|
@ -660,9 +660,9 @@ class grade_report_grader extends grade_report {
|
||||||
$user_pic = '<div class="userpic">' . print_user_picture($user->id, $this->courseid, true, 0, true) . '</div>';
|
$user_pic = '<div class="userpic">' . print_user_picture($user->id, $this->courseid, true, 0, true) . '</div>';
|
||||||
}
|
}
|
||||||
|
|
||||||
$studentshtml .= '<tr class="r'.$this->rowcount++.'"><th class="header c'.$columncount++.' user" scope="row">' . $user_pic
|
$studentshtml .= '<tr class="r'.$this->rowcount++.'"><th class="header c'.$columncount++.' user" scope="row">'.$user_pic
|
||||||
. '<a href="' . $CFG->wwwroot . '/user/view.php?id='
|
.'<a href="'.$CFG->wwwroot.'/user/view.php?id='.$user->id.'&course='.$this->course->id.'">'
|
||||||
. $user->id . '">' . fullname($user) . '</a></th>';
|
.fullname($user).'</a></th>';
|
||||||
|
|
||||||
foreach ($this->gtree->items as $itemid=>$unused) {
|
foreach ($this->gtree->items as $itemid=>$unused) {
|
||||||
$item =& $this->gtree->items[$itemid];
|
$item =& $this->gtree->items[$itemid];
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue