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/recentactivity
19
 
20
    This template will render the Bigbluebutton Activity inside a recent activity report.
21
 
22
    Variables requirer for this template:
23
    * userpicture - User fullname and picture
24
    * grade - User grade
25
    * userdate - Submission date
26
 
27
    Example context (json):
28
    {
29
        "userpicture": "<a href=\"#\"> </a>",
30
        "eventname": "Joined meeting",
31
        "userdate": "Wednesday, 27 January 2021, 9:54 AM",
32
        "userurl": "http://localhost/m/stable_master/user/view.php?id=3&course=6",
33
        "fullname": "Lukáš Svoboda"
34
    }
35
 
36
}}
37
<table class="bigbluebuttonbn-recent">
38
    <tbody>
39
    <tr>
40
        <td class="userpicture">{{{userpicture}}}</td>
41
        <td>
42
            <div class="title">
43
                {{#modinfo}}
44
                    {{modicon}}<a href="{{modurl}}">{{modname}}</a>
45
                {{/modinfo}}
46
            </div>
47
            {{#eventname}}
48
                <div class="event">
49
                    {{eventname}}
50
                </div>
51
            {{/eventname}}
52
            <div class="user">
53
                <a href="{{userurl}}">{{fullname}}</a> - {{#userdate}} {{submissiontimestamp}}, {{#str}} strftimedatetime {{/str}} {{/userdate}}
54
            </div>
55
        </td>
56
    </tr>
57
    </tbody>
58
</table>