Skip to content

Commit

Permalink
MDL-44859 grade: Inverse the order of the add category and item buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
lucaboesch committed Jun 14, 2018
1 parent 9e7c397 commit df24fb7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions grade/edit/tree/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -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');
}

Expand Down

0 comments on commit df24fb7

Please sign in to comment.