MDL-52270 Assignment: Display Participant Number
Display participant number when user holds mod/assign:viewblinddetails capability.
This commit is contained in:
committed by
David Monllao
parent
e8d5100212
commit
18b797347f
@@ -273,6 +273,14 @@ class assign_grading_table extends table_sql implements renderable {
|
||||
$columns[] = 'fullname';
|
||||
$headers[] = get_string('fullname');
|
||||
|
||||
// MDL-52269 - Participant # details if can view real identities.
|
||||
if ($this->assignment->is_blind_marking()) {
|
||||
if (!$this->is_downloading()) {
|
||||
$columns[] = 'recordid';
|
||||
$headers[] = get_string('recordid', 'assign');
|
||||
}
|
||||
}
|
||||
|
||||
foreach ($extrauserfields as $extrafield) {
|
||||
$columns[] = $extrafield;
|
||||
$headers[] = get_user_field_name($extrafield);
|
||||
|
||||
Reference in New Issue
Block a user