From df24fb71722c780ab2eda4cf59cafa0a42295b87 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luca=20B=C3=B6sch?= Date: Fri, 18 May 2018 22:09:54 +0200 Subject: [PATCH] MDL-44859 grade: Inverse the order of the add category and item buttons --- grade/edit/tree/index.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/grade/edit/tree/index.php b/grade/edit/tree/index.php index 3a1ce5e97ff1..b898b99ea4d8 100644 --- a/grade/edit/tree/index.php +++ b/grade/edit/tree/index.php @@ -274,13 +274,13 @@ if ($moving) { echo $OUTPUT->single_button(new moodle_url('index.php', array('id'=>$course->id)), get_string('cancel'), 'get'); } else { - echo $OUTPUT->single_button(new moodle_url('category.php', array('courseid'=>$course->id)), get_string('addcategory', 'grades'), 'get'); - echo $OUTPUT->single_button(new moodle_url('item.php', array('courseid'=>$course->id)), get_string('additem', 'grades'), 'get'); - + echo $OUTPUT->single_button(new moodle_url('item.php', array('courseid' => $course->id)), get_string('additem', + 'grades'), 'get'); if (!empty($CFG->enableoutcomes)) { echo $OUTPUT->single_button(new moodle_url('outcomeitem.php', array('courseid'=>$course->id)), get_string('addoutcomeitem', 'grades'), 'get'); } - + echo $OUTPUT->single_button(new moodle_url('category.php', array('courseid' => $course->id)), get_string('addcategory', + 'grades'), 'get'); //echo $OUTPUT->(new moodle_url('index.php', array('id'=>$course->id, 'action'=>'autosort')), get_string('autosort', 'grades'), 'get'); }