Merge branch 'MDL-71795-master' of git://github.com/ferranrecio/moodle

This commit is contained in:
Andrew Nicols 2021-10-04 12:33:52 +08:00 committed by Eloy Lafuente (stronk7)
commit 8b7fb0f7ab
11 changed files with 151 additions and 17 deletions

View file

@ -87,7 +87,7 @@ $bulkoperations = has_capability('moodle/course:bulkmessaging', $context);
$PAGE->set_title("$course->shortname: ".get_string('participants'));
$PAGE->set_heading($course->fullname);
$PAGE->set_pagetype('course-view-' . $course->format);
$PAGE->set_pagetype('course-view-participants');
$PAGE->set_docs_path('enrol/users');
$PAGE->add_body_class('path-user'); // So we can style it independently.
$PAGE->set_other_editing_capability('moodle/course:manageactivities');