From b64bf2d77cbe3314cffed25e266163f0e2b10cb7 Mon Sep 17 00:00:00 2001 From: Mathew May Date: Wed, 6 Mar 2019 11:57:32 +0800 Subject: [PATCH] MDL-64506 grades: Fix regression of MDL-58428 --- grade/templates/edit_tree.mustache | 20 ++++----- grade/templates/weight_field.mustache | 2 +- .../templates/weight_override_field.mustache | 22 ++++----- grades/templates/edit_tree.mustache | 45 ------------------- grades/templates/weight_field.mustache | 23 ---------- .../templates/weight_override_field.mustache | 31 ------------- 6 files changed, 22 insertions(+), 121 deletions(-) delete mode 100644 grades/templates/edit_tree.mustache delete mode 100644 grades/templates/weight_field.mustache delete mode 100644 grades/templates/weight_override_field.mustache diff --git a/grade/templates/edit_tree.mustache b/grade/templates/edit_tree.mustache index 551dae6793c..341b5034955 100644 --- a/grade/templates/edit_tree.mustache +++ b/grade/templates/edit_tree.mustache @@ -27,19 +27,17 @@ {{{table}}}
{{#showsave}} - + {{/showsave}} {{#showbulkmove}} -

- - - -
- +
+ + +
{{/showbulkmove}}
diff --git a/grade/templates/weight_field.mustache b/grade/templates/weight_field.mustache index 1bf4f7c8dd1..3ee641b849b 100644 --- a/grade/templates/weight_field.mustache +++ b/grade/templates/weight_field.mustache @@ -20,4 +20,4 @@ - + diff --git a/grade/templates/weight_override_field.mustache b/grade/templates/weight_override_field.mustache index 91f6f950253..0ed8292aa34 100644 --- a/grade/templates/weight_override_field.mustache +++ b/grade/templates/weight_override_field.mustache @@ -15,15 +15,17 @@ along with Moodle. If not, see . }} {{! - Weight override field. + Weight field. }} - - - +
+ + + - - + + +
diff --git a/grades/templates/edit_tree.mustache b/grades/templates/edit_tree.mustache deleted file mode 100644 index 341b5034955..00000000000 --- a/grades/templates/edit_tree.mustache +++ /dev/null @@ -1,45 +0,0 @@ -{{! - This file is part of Moodle - http://moodle.org/ - - Moodle is free software: you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - - Moodle is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with Moodle. If not, see . -}} -{{! - Edit tree. -}} - -
-
- - {{#notification}} - {{>core/notification_info}} - {{/notification}} - {{{table}}} -
- {{#showsave}} - - {{/showsave}} - {{#showbulkmove}} -
- - - -
- {{/showbulkmove}} -
-
-
diff --git a/grades/templates/weight_field.mustache b/grades/templates/weight_field.mustache deleted file mode 100644 index 3ee641b849b..00000000000 --- a/grades/templates/weight_field.mustache +++ /dev/null @@ -1,23 +0,0 @@ -{{! - This file is part of Moodle - http://moodle.org/ - - Moodle is free software: you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - - Moodle is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with Moodle. If not, see . -}} -{{! - Weight field. -}} - - diff --git a/grades/templates/weight_override_field.mustache b/grades/templates/weight_override_field.mustache deleted file mode 100644 index 0ed8292aa34..00000000000 --- a/grades/templates/weight_override_field.mustache +++ /dev/null @@ -1,31 +0,0 @@ -{{! - This file is part of Moodle - http://moodle.org/ - - Moodle is free software: you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - - Moodle is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with Moodle. If not, see . -}} -{{! - Weight field. -}} -
- - - - - - -
-- 2.43.0