mirror of
https://github.com/moodle/moodle.git
synced 2025-02-16 22:05:13 +01:00
Merge branch 'MDL-68956' of https://github.com/Chocolate-lightning/moodle
This commit is contained in:
commit
f2d6a96494
mod/h5pactivity/templates
@ -15,7 +15,7 @@
|
|||||||
along with Moodle. If not, see <http://www.gnu.org/licenses/>.
|
along with Moodle. If not, see <http://www.gnu.org/licenses/>.
|
||||||
}}
|
}}
|
||||||
{{!
|
{{!
|
||||||
@template mod_h5pactivity/result/answer
|
@template mod_h5pactivity/local/result/answer
|
||||||
|
|
||||||
This template render all kind of answers/choice in a results table.
|
This template render all kind of answers/choice in a results table.
|
||||||
|
|
@ -15,7 +15,7 @@
|
|||||||
along with Moodle. If not, see <http://www.gnu.org/licenses/>.
|
along with Moodle. If not, see <http://www.gnu.org/licenses/>.
|
||||||
}}
|
}}
|
||||||
{{!
|
{{!
|
||||||
@template mod_h5pactivity/result/header
|
@template mod_h5pactivity/local/result/header
|
||||||
|
|
||||||
This template will render a results header inside mod_h5pactivity results report.
|
This template will render a results header inside mod_h5pactivity results report.
|
||||||
|
|
@ -15,7 +15,7 @@
|
|||||||
along with Moodle. If not, see <http://www.gnu.org/licenses/>.
|
along with Moodle. If not, see <http://www.gnu.org/licenses/>.
|
||||||
}}
|
}}
|
||||||
{{!
|
{{!
|
||||||
@template mod_h5pactivity/result/options
|
@template mod_h5pactivity/local/result/options
|
||||||
|
|
||||||
This template will render a choices table inside a H5P activity results report.
|
This template will render a choices table inside a H5P activity results report.
|
||||||
|
|
||||||
@ -99,8 +99,8 @@
|
|||||||
{{#options}}
|
{{#options}}
|
||||||
<tr>
|
<tr>
|
||||||
<td>{{description}}</td>
|
<td>{{description}}</td>
|
||||||
<td>{{#correctanswer}}{{>mod_h5pactivity/result/answer}}{{/correctanswer}}</td>
|
<td>{{#correctanswer}}{{>mod_h5pactivity/local/result/answer}}{{/correctanswer}}</td>
|
||||||
<td>{{#useranswer}}{{>mod_h5pactivity/result/answer}}{{/useranswer}}</td>
|
<td>{{#useranswer}}{{>mod_h5pactivity/local/result/answer}}{{/useranswer}}</td>
|
||||||
</tr>
|
</tr>
|
||||||
{{/options}}
|
{{/options}}
|
||||||
{{#score}}
|
{{#score}}
|
@ -26,7 +26,7 @@
|
|||||||
Variables optional for this template:
|
Variables optional for this template:
|
||||||
* hasoptions - If an option table must be present
|
* hasoptions - If an option table must be present
|
||||||
* optionslabel - The right label for available options on this result type
|
* 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
|
* content - Extra content in HTML
|
||||||
* track - Indicate if the result has displayable tracking
|
* track - Indicate if the result has displayable tracking
|
||||||
|
|
||||||
@ -105,10 +105,10 @@
|
|||||||
|
|
||||||
<div class="container-fluid w-100 my-0 p-0">
|
<div class="container-fluid w-100 my-0 p-0">
|
||||||
<div class="row w-100 py-3 px-1 m-0 p-md-3">
|
<div class="row w-100 py-3 px-1 m-0 p-md-3">
|
||||||
{{>mod_h5pactivity/result/header}}
|
{{>mod_h5pactivity/local/result/header}}
|
||||||
{{{content}}}
|
{{{content}}}
|
||||||
{{#hasoptions}}
|
{{#hasoptions}}
|
||||||
{{>mod_h5pactivity/result/options}}
|
{{>mod_h5pactivity/local/result/options}}
|
||||||
{{/hasoptions}}
|
{{/hasoptions}}
|
||||||
{{^track}}
|
{{^track}}
|
||||||
<div class="alert alert-warning w-100" role="alert">
|
<div class="alert alert-warning w-100" role="alert">
|
||||||
|
Loading…
x
Reference in New Issue
Block a user