MDL-54865 grade: student name hyperlinked in gradebook user report
In the Gradebook, User report, the student's name (at the top) is a hyperlink to that student's account. In most places where a student's name shows (e.g. the Grader report) it is most often a hyperlink.
This commit is contained in:
+2
-1
@@ -1039,7 +1039,8 @@ function print_grade_page_head($courseid, $active_type, $active_plugin=null,
|
||||
if (isset($user)) {
|
||||
$output = $OUTPUT->context_header(
|
||||
array(
|
||||
'heading' => fullname($user),
|
||||
'heading' => html_writer::link(new moodle_url('/user/view.php', array('id' => $user->id,
|
||||
'course' => $courseid)), fullname($user)),
|
||||
'user' => $user,
|
||||
'usercontext' => context_user::instance($user->id)
|
||||
), 2
|
||||
|
||||
Reference in New Issue
Block a user