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_message/message_drawer_view_group_info_body_content
19
 
20
    This template will render the content for the body section of the group
21
    info page in the message drawer.
22
 
23
    Classes required for JS:
24
    * none
25
 
26
    Data attributes required for JS:
27
    * All data attributes are required
28
 
29
    Context variables required for this template:
30
    * userid The logged in user id
31
    * urls The URLs for the popover
32
 
33
    Example context (json):
34
    {}
35
 
36
}}
37
 
38
<a class="px-2 align-self-start" href="#" data-route-back role="button">
39
    {{> core_message/message_drawer_icon_back }}
40
</a>
41
<div class="px-2">
42
    <div class="text-center">
43
        {{#imageurl}}
44
        <img
45
            class="rounded-circle"
46
            src="{{.}}"
47
            aria-hidden="true"
48
            alt="{{#str}} pictureof, moodle, {{name}} {{/str}}"
49
            title="{{#str}} pictureof, moodle, {{name}} {{/str}}"
50
            style="height: 100px; width: 100px"
51
        >
52
        {{/imageurl}}
53
    </div>
54
    <h2 class="mt-2 mb-0 text-center text-truncate h4">{{name}}</h2>
55
    {{#subname}}<h3 class="mt-2 mb-0 text-center text-truncate h5">{{.}}</h3>{{/subname}}
56
</div>
57
<h3 class="border-bottom h6 mt-3 px-3 py-2 mb-0 font-weight-bold">{{#str}} otherparticipants, core_message {{/str}}</h3>
58
<div class="pt-1 bg-white overflow-y" data-region="members-list-container">
59
    {{< core_message/message_drawer_lazy_load_list }}
60
        {{$rootattributes}}
61
            data-region="members-list"
62
        {{/rootattributes}}
63
        {{$emptymessage}}{{#str}} noparticipants, core_message {{/str}}{{/emptymessage}}
64
        {{$placeholder}}
65
            {{#placeholders}}
66
                {{> core_message/message_drawer_view_group_info_participants_list_item_placeholder }}
67
            {{/placeholders}}
68
        {{/placeholder}}
69
    {{/ core_message/message_drawer_lazy_load_list }}
70
</div>