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_bigbluebuttonbn/recording_row_playback.mustache
|
|
|
19 |
|
|
|
20 |
This template renders the mobile page.
|
|
|
21 |
|
|
|
22 |
Example context (json):
|
|
|
23 |
{
|
|
|
24 |
"id":"1",
|
|
|
25 |
"recordingid":"1",
|
|
|
26 |
"tools":[
|
|
|
27 |
{
|
|
|
28 |
"disabled":false,
|
|
|
29 |
"url":"#",
|
|
|
30 |
"id":"test-id",
|
|
|
31 |
"classes":"btn btn-link",
|
|
|
32 |
"attributes":[
|
|
|
33 |
{
|
|
|
34 |
"name":"title",
|
|
|
35 |
"value":"Action link's title",
|
|
|
36 |
"class":"'btn btn-sm btn-default",
|
|
|
37 |
"data-action":"play"
|
|
|
38 |
}
|
|
|
39 |
],
|
|
|
40 |
"text":"This is an action link"
|
|
|
41 |
}
|
|
|
42 |
]
|
|
|
43 |
}
|
|
|
44 |
}}
|
|
|
45 |
<div id="{{id}}" data-imported="{{dataimported}}" data-recordingid="{{recordingid}}" data-additionaloptions="{{additionaloptions}}"
|
|
|
46 |
title="{{#dataimported}}{{#str}}view_recording_link_warning, bigbluebuttonbn{{/str}}{{/dataimported}}">
|
|
|
47 |
{{#playbacks}}
|
|
|
48 |
<span class="p-1">
|
|
|
49 |
{{>core/action_link}}
|
|
|
50 |
</span>
|
|
|
51 |
{{/playbacks}}
|
|
|
52 |
</div>
|