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_bigbluebuttonbn/recording_table
19
 
20
    This template renders the mobile page.
21
 
22
    Example context (json):
23
    {
24
        "bbbid" : 3,
25
        "has_records": true,
26
        "search_input": {}
27
    }
28
}}
29
<div class="mod_bigbluebuttonbn_recordings_table">
30
    {{#has_recordings}}
31
        <div>
32
            <h4>{{$title}}{{/title}}</h4>
33
        </div>
34
        <div>
35
            {{#search}}
36
                {{>mod_bigbluebuttonbn/search_input_recordings}}
37
            {{/search}}
38
            <div {{!
39
                }} id="bigbluebuttonbn-recording-table-{{uniqid}}"{{!
40
                }} class="bigbluebutton-container" {{!
41
                }} data-bbbid="{{bbbid}}"{{!
42
                }} data-tools="{{$tools}}protect,unprotect,publish,unpublish,delete{{/tools}}"{{!
43
                }} data-group-id="{{groupid}}"{{!
44
                }} {{$otherattributes}}{{/otherattributes}}{{!
45
            }}></div>
46
        </div>
47
    {{/has_recordings}}
48
    {{^has_recordings}}
49
        <div id="bigbluebuttonbn_recordings_table">{{#str}}view_message_norecordings, mod_bigbluebuttonbn{{/str}}</div>
50
    {{/has_recordings}}
51
</div>
52
 
53
{{#has_recordings}}
54
    {{#js}}
55
        require(['mod_bigbluebuttonbn/recordings'], function(recordings) {
56
            recordings.init('#bigbluebuttonbn-recording-table-{{uniqid}}', '#searchform-auto-{{uniqid}}');
57
        });
58
        require(['core/inplace_editable']);
59
    {{/js}}
60
{{/has_recordings}}