Proyectos de Subversion Moodle

Rev

| Ultima modificación | Ver Log |

Rev Autor Línea Nro. Línea
1 efrain 1
{{!
2
    This file is part of Moodle - http://moodle.org/
3
 
4
    Moodle is free software: you can redistribute it and/or modify
5
    it under the terms of the GNU General Public License as published by
6
    the Free Software Foundation, either version 3 of the License, or
7
    (at your option) any later version.
8
 
9
    Moodle is distributed in the hope that it will be useful,
10
    but WITHOUT ANY WARRANTY; without even the implied warranty of
11
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12
    GNU General Public License for more details.
13
 
14
    You should have received a copy of the GNU General Public License
15
    along with Moodle.  If not, see <http://www.gnu.org/licenses/>.
16
}}
17
{{!
18
    @template mod_h5pactivity/local/result/header
19
 
20
    This template will render a results header inside mod_h5pactivity results report.
21
 
22
    Variables required for this template:
23
    * description - Result description
24
 
25
    Variables optional for this template:
26
    * success - If the result is marked as success
27
    * score - The result score string
28
 
29
    Example context (json):
30
    {
31
        "timecreated": "1587655101",
32
        "interactiontype": "choice",
33
        "description": "Example of some results\n",
34
        "rawscore": "4",
35
        "maxscore": "4",
36
        "duration": "130",
37
        "success": "1",
38
        "score": "4 out of 4"
39
    }
40
 
41
}}
42
<h3 class="w-100">
43
    {{{description}}}
44
</h3>