diff --git a/amd/src/report-viewer-components.js b/amd/src/report-viewer-components.js index d7948fc..81248df 100644 --- a/amd/src/report-viewer-components.js +++ b/amd/src/report-viewer-components.js @@ -67,6 +67,16 @@ export default { coursetiming_future: "coursetiming_future", required_goal: "required_goal", }, + teachercourse: { + select_conditions: "select_conditions", + select_grades: "select_grades", + coursetiming_past: "coursetiming_past", + coursetiming_present: "coursetiming_present", + coursetiming_future: "coursetiming_future", + grade_include: "grade_include", + grade_require: "grade_require", + required_goal: "required_goal", + } }); @@ -962,16 +972,7 @@ export default { }, data() { return { - text: { - select_conditions: "select_conditions", - select_grades: "select_grades", - coursetiming_past: "coursetiming_past", - coursetiming_present: "coursetiming_present", - coursetiming_future: "coursetiming_future", - grade_include: "grade_include", - grade_require: "grade_require", - required_goal: "required_goal", - }, + text: strings.teachercourse, txt: { grading: strings.grading, } @@ -1283,6 +1284,7 @@ export default { }, data() { return { + text: strings.teachercourse, txt: { grading: strings.grading, } diff --git a/version.php b/version.php index 956b0ec..1ae9ce0 100644 --- a/version.php +++ b/version.php @@ -1,6 +1,6 @@ component = 'local_treestudyplan'; // Recommended since 2.0.2 (MDL-26035). Required since 3.0 (MDL-48494) -$plugin->version = 2023063004; // YYYYMMDDHH (year, month, day, iteration) +$plugin->version = 2023063007; // YYYYMMDDHH (year, month, day, iteration) $plugin->requires = 2021051700; // YYYYMMDDHH (This is the release version for Moodle 3.11) $plugin->dependencies = [