MDL-74981 mod_assign: set limited width on overrides pages

This commit is contained in:
stevando
2022-06-23 18:01:39 +08:00
parent ca583bddaf
commit d04d70bb60
3 changed files with 3 additions and 0 deletions
+1
View File
@@ -79,6 +79,7 @@ $title = get_string('deletecheck', null, $stroverride);
$PAGE->set_url($url);
$PAGE->set_pagelayout('admin');
$PAGE->add_body_class('limitedwidth');
$PAGE->navbar->add($title);
$PAGE->set_title($title);
$PAGE->set_heading($course->fullname);
+1
View File
@@ -255,6 +255,7 @@ if ($mform->is_cancelled()) {
// Print the form.
$PAGE->navbar->add($pagetitle);
$PAGE->set_pagelayout('admin');
$PAGE->add_body_class('limitedwidth');
$PAGE->set_title($pagetitle);
$PAGE->set_heading($course->fullname);
$PAGE->set_secondary_active_tab('mod_assign_useroverrides');
+1
View File
@@ -80,6 +80,7 @@ if ($action == 'movegroupoverride') {
// Display a list of overrides.
$PAGE->set_pagelayout('admin');
$PAGE->add_body_class('limitedwidth');
$PAGE->set_title(get_string('overrides', 'assign'));
$PAGE->set_heading($course->fullname);
$activityheader = $PAGE->activityheader;