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 tool_moodlenet/chooser_footer
|
|
|
19 |
|
|
|
20 |
Chooser favourite template partial.
|
|
|
21 |
|
|
|
22 |
Example context (json):
|
|
|
23 |
{
|
|
|
24 |
}
|
|
|
25 |
}}
|
|
|
26 |
{{#enabled}}
|
|
|
27 |
<div class="w-100 d-flex px-2">
|
|
|
28 |
<a aria-label="{{#str}}aria:footermessage, tool_moodlenet{{/str}}"
|
|
|
29 |
class="d-inline my-auto mr-1"
|
|
|
30 |
{{#advanced}}
|
|
|
31 |
href="{{advanced}}"
|
|
|
32 |
target="_self"
|
|
|
33 |
{{/advanced}}
|
|
|
34 |
{{^advanced}}
|
|
|
35 |
href="#"
|
|
|
36 |
data-action="show-moodlenet"
|
|
|
37 |
data-courseid="{{courseID}}"
|
|
|
38 |
data-sectionID="{{sectionID}}"
|
|
|
39 |
{{/advanced}}
|
|
|
40 |
>
|
|
|
41 |
{{#str}} footermessage , tool_moodlenet{{/str}}
|
|
|
42 |
|
|
|
43 |
<span class="moodlenet-logo" aria-hidden="true">{{#pix}} MoodleNet, tool_moodlenet {{/pix}}</span>
|
|
|
44 |
</a>
|
|
|
45 |
</div>
|
|
|
46 |
{{/enabled}}
|