mirror of
https://github.com/moodle/moodle.git
synced 2025-04-13 04:22:07 +02:00
MDL-53916 mod_assign: Point update grade link to new interface
This commit is contained in:
parent
283b1d32bd
commit
5e84acc2f3
@ -1010,10 +1010,15 @@ class assign_grading_table extends table_sql implements renderable {
|
||||
|
||||
$actions = array();
|
||||
|
||||
$urlparams = array('id'=>$this->assignment->get_course_module()->id,
|
||||
'rownum'=>$this->rownum,
|
||||
'action' => 'grade',
|
||||
'useridlistid' => $this->assignment->get_useridlist_key_id());
|
||||
$urlparams = array('id' => $this->assignment->get_course_module()->id,
|
||||
'rownum' => 0,
|
||||
'action' => 'grader');
|
||||
|
||||
if ($this->assignment->is_blind_marking()) {
|
||||
$urlparams['blindid'] = $this->assignment->get_uniqueid_for_user($row->userid);
|
||||
} else {
|
||||
$urlparams['userid'] = $row->userid;
|
||||
}
|
||||
$url = new moodle_url('/mod/assign/view.php', $urlparams);
|
||||
$noimage = null;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user