diff --git a/admin/tool/lp/templates/course_competency_statistics.mustache b/admin/tool/lp/templates/course_competency_statistics.mustache index 437bd53e9c1..bb4a267d81e 100644 --- a/admin/tool/lp/templates/course_competency_statistics.mustache +++ b/admin/tool/lp/templates/course_competency_statistics.mustache @@ -32,10 +32,10 @@ Example context (json): { - competencycount: 4, - proficientcompetencycount: 3, - proficientcompetencypercentage: 75, - proficientcompetencypercentageformatted: 75.0 + "competencycount": 4, + "proficientcompetencycount": 3, + "proficientcompetencypercentage": 75, + "proficientcompetencypercentageformatted": 75.0 } }} diff --git a/admin/tool/lp/templates/template_statistics.mustache b/admin/tool/lp/templates/template_statistics.mustache index 91b45127d45..85b738fcd1b 100644 --- a/admin/tool/lp/templates/template_statistics.mustache +++ b/admin/tool/lp/templates/template_statistics.mustache @@ -32,12 +32,12 @@ Example context (json): { - linkedcompetencycount: 4, - competencycount: 8, - linkedcompetencypercentage: 50, - plancount: 40, - completedplancount: 30, - completedplanpercentage: 75, + "linkedcompetencycount": 4, + "competencycount": 8, + "linkedcompetencypercentage": 50, + "plancount": 40, + "completedplancount": 30, + "completedplanpercentage": 75 } }} diff --git a/mod/assign/templates/grading_actions.mustache b/mod/assign/templates/grading_actions.mustache index 28c89f1e0fd..5118bc0da04 100644 --- a/mod/assign/templates/grading_actions.mustache +++ b/mod/assign/templates/grading_actions.mustache @@ -28,7 +28,6 @@ Context variables required for this template: * see mod/assign/classes/output/grading_app.php - Example context (json): This template is initially hidden, and is only displayed after the current user info has been loaded. }}
diff --git a/mod/assign/templates/grading_app.mustache b/mod/assign/templates/grading_app.mustache index 23f192be6be..60d2ec26a8d 100644 --- a/mod/assign/templates/grading_app.mustache +++ b/mod/assign/templates/grading_app.mustache @@ -28,7 +28,6 @@ Context variables required for this template: * see mod/assign/classes/output/grading_app.php - Example context (json): This template includes ajax functionality, so it cannot be shown in the template library. }}
diff --git a/mod/assign/templates/grading_navigation.mustache b/mod/assign/templates/grading_navigation.mustache index 6a4e49a79c5..8b0845cf11d 100644 --- a/mod/assign/templates/grading_navigation.mustache +++ b/mod/assign/templates/grading_navigation.mustache @@ -28,7 +28,6 @@ Context variables required for this template: * see mod/assign/classes/output/grading_app.php - Example context (json): This template includes ajax functionality, so it cannot be shown in the template library. }} diff --git a/mod/assign/templates/grading_navigation_user_selector.mustache b/mod/assign/templates/grading_navigation_user_selector.mustache index 79835b1e44a..888da9f875b 100644 --- a/mod/assign/templates/grading_navigation_user_selector.mustache +++ b/mod/assign/templates/grading_navigation_user_selector.mustache @@ -28,7 +28,6 @@ Context variables required for this template: * see mod/assign/classes/output/grading_app.php - Example context (json): This template uses ajax functionality, so it cannot be shown in the template library. }} {{{larrow}}} diff --git a/mod/assign/templates/grading_navigation_user_summary.mustache b/mod/assign/templates/grading_navigation_user_summary.mustache index 49ee55c3ff7..864e05dcd01 100644 --- a/mod/assign/templates/grading_navigation_user_summary.mustache +++ b/mod/assign/templates/grading_navigation_user_summary.mustache @@ -33,7 +33,7 @@ "id": "5", "fullname": "Mr T", "hasidentity": true, - "identity": "t@example.org, T" + "identity": "t@example.org, T", "profileimageurl": "https://moodle.org/pix/u/f3.png" } }} diff --git a/mod/assign/templates/grading_panel.mustache b/mod/assign/templates/grading_panel.mustache index 7ac97dfb649..afc6a9dced0 100644 --- a/mod/assign/templates/grading_panel.mustache +++ b/mod/assign/templates/grading_panel.mustache @@ -28,7 +28,6 @@ Context variables required for this template: * None - Example context (json): This template loads it's content via ajax, so it cannot be shown in the template library. }} {{> mod_assign/loading }} diff --git a/search/templates/result.mustache b/search/templates/result.mustache index dc276950e39..331c7a340a8 100644 --- a/search/templates/result.mustache +++ b/search/templates/result.mustache @@ -49,15 +49,15 @@ "title": "Example title", "docurl": "https://example.com/mod/example/view.php?id=4", "content": "I am content", - "contexturl": "https://example.com/mod/example/view.php?id=2" + "contexturl": "https://example.com/mod/example/view.php?id=2", "userurl": "https://example.com/user/profile.php?id=3", "userfullname": "Example User Full Name", "multiplefiles": true, "filenames": - { + [ "file1.txt", "file2.txt" - } + ] } }}