diff --git a/mod/h5pactivity/templates/result/answer.mustache b/mod/h5pactivity/templates/local/result/answer.mustache similarity index 97% rename from mod/h5pactivity/templates/result/answer.mustache rename to mod/h5pactivity/templates/local/result/answer.mustache index c6ba3e1289195..a16730ccbbff1 100644 --- a/mod/h5pactivity/templates/result/answer.mustache +++ b/mod/h5pactivity/templates/local/result/answer.mustache @@ -15,7 +15,7 @@ along with Moodle. If not, see . }} {{! - @template mod_h5pactivity/result/answer + @template mod_h5pactivity/local/result/answer This template render all kind of answers/choice in a results table. diff --git a/mod/h5pactivity/templates/result/header.mustache b/mod/h5pactivity/templates/local/result/header.mustache similarity index 96% rename from mod/h5pactivity/templates/result/header.mustache rename to mod/h5pactivity/templates/local/result/header.mustache index a5592daa47102..21a55e6485716 100644 --- a/mod/h5pactivity/templates/result/header.mustache +++ b/mod/h5pactivity/templates/local/result/header.mustache @@ -15,7 +15,7 @@ along with Moodle. If not, see . }} {{! - @template mod_h5pactivity/result/header + @template mod_h5pactivity/local/result/header This template will render a results header inside mod_h5pactivity results report. diff --git a/mod/h5pactivity/templates/result/options.mustache b/mod/h5pactivity/templates/local/result/options.mustache similarity index 94% rename from mod/h5pactivity/templates/result/options.mustache rename to mod/h5pactivity/templates/local/result/options.mustache index 4be6d11dd4b69..3f895ac588e3e 100644 --- a/mod/h5pactivity/templates/result/options.mustache +++ b/mod/h5pactivity/templates/local/result/options.mustache @@ -15,7 +15,7 @@ along with Moodle. If not, see . }} {{! - @template mod_h5pactivity/result/options + @template mod_h5pactivity/local/result/options This template will render a choices table inside a H5P activity results report. @@ -99,8 +99,8 @@ {{#options}} {{description}} - {{#correctanswer}}{{>mod_h5pactivity/result/answer}}{{/correctanswer}} - {{#useranswer}}{{>mod_h5pactivity/result/answer}}{{/useranswer}} + {{#correctanswer}}{{>mod_h5pactivity/local/result/answer}}{{/correctanswer}} + {{#useranswer}}{{>mod_h5pactivity/local/result/answer}}{{/useranswer}} {{/options}} {{#score}} diff --git a/mod/h5pactivity/templates/result.mustache b/mod/h5pactivity/templates/result.mustache index 4309275433cc6..4e5d219d0dbfd 100644 --- a/mod/h5pactivity/templates/result.mustache +++ b/mod/h5pactivity/templates/result.mustache @@ -26,7 +26,7 @@ Variables optional for this template: * hasoptions - If an option table must be present * optionslabel - The right label for available options on this result type - * options - An array of mod_h5pactivity/result/options compatible array + * options - An array of mod_h5pactivity/local/result/options compatible array * content - Extra content in HTML * track - Indicate if the result has displayable tracking @@ -105,10 +105,10 @@
- {{>mod_h5pactivity/result/header}} + {{>mod_h5pactivity/local/result/header}} {{{content}}} {{#hasoptions}} - {{>mod_h5pactivity/result/options}} + {{>mod_h5pactivity/local/result/options}} {{/hasoptions}} {{^track}}