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 core/report_link_page
19
 
20
    Display the report page with a list of available reports.
21
 
22
    Example context (json):
23
    {
24
        "node": {
25
            "text": "Root of menu",
26
            "key": "test0",
27
            "display": true,
28
            "children": [
29
                {
30
                    "text": "Child of menu",
31
                    "key": "test1",
32
                    "display": true,
33
                    "children": []
34
                }
35
            ]
36
        }
37
    }
38
}}
39
{{#node}}
40
<div class="container-fluid">
41
    <div class="row">
42
        <ul class="list-unstyled ml-0">
43
            {{#node.children}}
44
                {{#display}}
45
                    <li><a href="{{{action}}}">{{text}}</a></li>
46
                {{/display}}
47
            {{/node.children}}
48
        </ul>
49
    </div>
50
</div>
51
{{/node}}