Proyectos de Subversion Moodle

Rev

Rev 1 | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 1 Rev 1441
Línea 62... Línea 62...
62
            {{/isdeleted}}
62
            {{/isdeleted}}
Línea 63... Línea 63...
63
 
63
 
64
            {{#unread}}
64
            {{#unread}}
65
                <div class="icon-size-4 text-info text-center mt-3 icon-no-margin">
65
                <div class="icon-size-4 text-info text-center mt-3 icon-no-margin">
66
                    <span
66
                    <span
67
                        data-toggle="tooltip"
67
                        data-bs-toggle="tooltip"
68
                        data-placement="left"
68
                        data-bs-placement="left"
69
                        title="{{#str}} unreadpost, mod_forum {{/str}}"
69
                        title="{{#str}} unreadpost, mod_forum {{/str}}"
70
                        tabindex="0"
70
                        tabindex="0"
71
                    >{{#pix}} i/flagged, core {{/pix}}</span>
71
                    >{{#pix}} i/flagged, core {{/pix}}</span>
72
                </div>
72
                </div>
Línea 75... Línea 75...
75
 
75
 
76
        <div class="forum-post-core d-flex flex-column w-100"  data-region-content="forum-post-core">
76
        <div class="forum-post-core d-flex flex-column w-100"  data-region-content="forum-post-core">
77
            <header id="post-header-{{id}}-{{uniqid}}">
77
            <header id="post-header-{{id}}-{{uniqid}}">
78
                {{^isdeleted}}
78
                {{^isdeleted}}
79
                    <div class="d-flex flex-wrap align-items-center mb-1">
79
                    <div class="d-flex flex-wrap align-items-center mb-1">
80
                        <div class="mr-2" tabindex="-1">
80
                        <div class="me-2" tabindex="-1">
81
                            {{#author}}
81
                            {{#author}}
82
                                <h4 class="h6 d-lg-inline-block mb-0 author-header mr-1">
82
                                <h4 class="h6 d-lg-inline-block mb-0 author-header ms-1">
83
                                    {{#parentauthorname}}
83
                                    {{#parentauthorname}}
84
                                        {{#isprivatereply}}
84
                                        {{#isprivatereply}}
85
                                            <span class="text-danger">
85
                                            <span class="text-danger">
86
                                                {{#str}}
86
                                                {{#str}}
87
                                                    authorreplyingprivatelytoauthor, mod_forum, {
87
                                                    authorreplyingprivatelytoauthor, mod_forum, {
88
                                                        "respondant":"<a class='font-weight-bold author-name' data-region='author-name' href='{{{urls.profile}}}'>{{fullname}}</a>",
88
                                                        "respondant":"<a class='fw-bold author-name' data-region='author-name' href='{{{urls.profile}}}'>{{fullname}}</a>",
89
                                                        "author":"{{parentauthorname}}"
89
                                                        "author":"{{parentauthorname}}"
90
                                                    }
90
                                                    }
91
                                                {{/str}}
91
                                                {{/str}}
92
                                            </span>
92
                                            </span>
93
                                        {{/isprivatereply}}
93
                                        {{/isprivatereply}}
94
                                        {{^isprivatereply}}
94
                                        {{^isprivatereply}}
95
                                            {{#str}}
95
                                            {{#str}}
96
                                                authorreplyingtoauthor, mod_forum, {
96
                                                authorreplyingtoauthor, mod_forum, {
97
                                                    "respondant":"<a class='font-weight-bold author-name' data-region='author-name' href='{{{urls.profile}}}'>{{fullname}}</a>",
97
                                                    "respondant":"<a class='fw-bold author-name' data-region='author-name' href='{{{urls.profile}}}'>{{fullname}}</a>",
98
                                                    "author":"{{parentauthorname}}"
98
                                                    "author":"{{parentauthorname}}"
99
                                                }
99
                                                }
100
                                            {{/str}}
100
                                            {{/str}}
101
                                        {{/isprivatereply}}
101
                                        {{/isprivatereply}}
102
                                    {{/parentauthorname}}
102
                                    {{/parentauthorname}}
103
                                    {{^parentauthorname}}
103
                                    {{^parentauthorname}}
104
                                        <a class='font-weight-bold author-name' data-region='author-name' href="{{{urls.profile}}}">{{fullname}}</a>
104
                                        <a class='fw-bold author-name' data-region='author-name' href="{{{urls.profile}}}">{{fullname}}</a>
105
                                    {{/parentauthorname}}
105
                                    {{/parentauthorname}}
106
                                </h4>
106
                                </h4>
107
                            {{/author}}
107
                            {{/author}}
108
                            {{< core/time_element }}
108
                            {{< core/time_element }}
Línea 111... Línea 111...
111
                                {{$timestampval}}{{timecreated}}{{/timestampval}}
111
                                {{$timestampval}}{{timecreated}}{{/timestampval}}
112
                                {{$userdateformatval}}{{#str}} strftimerecentfull, core_langconfig {{/str}}{{/userdateformatval}}
112
                                {{$userdateformatval}}{{#str}} strftimerecentfull, core_langconfig {{/str}}{{/userdateformatval}}
113
                            {{/core/time_element}}
113
                            {{/core/time_element}}
114
                        </div>
114
                        </div>
Línea 115... Línea 115...
115
 
115
 
116
                        <div class="d-flex align-items-center ml-auto">
116
                        <div class="d-flex align-items-center ms-auto">
117
                            {{#author.groups}}
117
                            {{#author.groups}}
118
                                {{#urls.image}}
118
                                {{#urls.image}}
119
                                    <div class="mr-2">
119
                                    <div class="me-2">
120
                                        {{#urls.group}}
120
                                        {{#urls.group}}
121
                                            <a href="{{urls.group}}" aria-label='{{#str}} memberofgroup, group, {{name}}{{/str}}'>
121
                                            <a href="{{urls.group}}" aria-label='{{#str}} memberofgroup, group, {{name}}{{/str}}'>
122
                                                <img
122
                                                <img
123
                                                    class="rounded-circle group-image"
123
                                                    class="rounded-circle group-image"
Línea 141... Línea 141...
141
 
141
 
142
                            {{^readonly}}
142
                            {{^readonly}}
143
                                {{#showactionmenu}}
143
                                {{#showactionmenu}}
144
                                    <div class="dropdown">
144
                                    <div class="dropdown">
145
                                        <button
145
                                        <button
146
                                            class="btn btn-icon text-muted icon-no-margin icon-size-3"
146
                                            class="btn btn-icon text-muted"
147
                                            type="button"
147
                                            type="button"
148
                                            id="post-actions-menu-{{id}}-{{uniqid}}"
148
                                            id="post-actions-menu-{{id}}-{{uniqid}}"
149
                                            data-toggle="dropdown"
149
                                            data-bs-toggle="dropdown"
150
                                            aria-haspopup="true"
150
                                            aria-haspopup="true"
151
                                            aria-expanded="false"
151
                                            aria-expanded="false"
152
                                            aria-label="{{#str}} actionsforpost, mod_forum {{/str}}"
152
                                            aria-label="{{#str}} actionsforpost, mod_forum {{/str}}"
153
                                        >
153
                                        >
154
                                            {{#pix}} i/moremenu {{/pix}}
154
                                            {{#pix}} i/moremenu {{/pix}}
155
                                        </button>
155
                                        </button>
156
                                        <!-- inline style to fix RTL placement bug -->
156
                                        <!-- inline style to fix RTL placement bug -->
157
                                        <div class="dropdown-menu dropdown-menu-right rounded-lg shadow border-0" aria-labelledby="post-actions-menu-{{id}}-{{uniqid}}" style="right: auto" role="menubar">
157
                                        <div class="dropdown-menu dropdown-menu-end rounded-3 shadow border-0" aria-labelledby="post-actions-menu-{{id}}-{{uniqid}}" style="right: auto" role="menubar">
158
                                            {{#capabilities}}
158
                                            {{#capabilities}}
159
                                                {{#view}}
159
                                                {{#view}}
160
                                                    <a
160
                                                    <a
161
                                                        href="{{{urls.view}}}"
161
                                                        href="{{{urls.view}}}"
Línea 239... Línea 239...
239
                            </div>
239
                            </div>
240
                    </div>
240
                    </div>
241
                {{/isdeleted}}
241
                {{/isdeleted}}
242
                {{$subject}}
242
                {{$subject}}
243
                    <h2
243
                    <h2
244
                        class="h1 font-weight-bold post-subject mt-n2"
244
                        class="h1 fw-bold post-subject mt-n2"
245
                        data-region-content="forum-post-core-subject"
245
                        data-region-content="forum-post-core-subject"
246
                        data-reply-subject="{{replysubject}}"
246
                        data-reply-subject="{{replysubject}}"
247
                    >{{{subject}}}</h2>
247
                    >{{{subject}}}</h2>
248
                {{/subject}}
248
                {{/subject}}
249
                {{#hasreplycount}}
249
                {{#hasreplycount}}
250
                    <span class="sr-only">{{#str}} numberofreplies, mod_forum, {{replycount}} {{/str}}</span>
250
                    <span class="visually-hidden">{{#str}} numberofreplies, mod_forum, {{replycount}} {{/str}}</span>
251
                {{/hasreplycount}}
251
                {{/hasreplycount}}
252
            </header>
252
            </header>
Línea 253... Línea 253...
253
 
253
 
254
            <div class="post-message pr-md-5" id="post-content-{{id}}">
254
            <div class="post-message pe-md-5" id="post-content-{{id}}">
255
                {{{message}}}
255
                {{{message}}}
Línea 256... Línea 256...
256
            </div>
256
            </div>
257
 
257
 
Línea 282... Línea 282...
282
                            <span class="icon-size-6">{{#pix}} {{icon}}, core {{/pix}}</span>
282
                            <span class="icon-size-6">{{#pix}} {{icon}}, core {{/pix}}</span>
283
                            <div class="align-bottom d-inline-block">
283
                            <div class="align-bottom d-inline-block">
284
                                <a
284
                                <a
285
                                    href="{{{url}}}"
285
                                    href="{{{url}}}"
286
                                    aria-label="{{#str}} attachmentname, mod_forum, {{filename}} {{/str}}"
286
                                    aria-label="{{#str}} attachmentname, mod_forum, {{filename}} {{/str}}"
287
                                    class="font-weight-bold"
287
                                    class="fw-bold"
288
                                >
288
                                >
289
                                    {{#str}} attachmentnameandfilesize, mod_forum, {"name": "{{filename}}", "size": "{{filesizeformatted}}"} {{/str}}
289
                                    {{#str}} attachmentnameandfilesize, mod_forum, {"name": "{{filename}}", "size": "{{filesizeformatted}}"} {{/str}}
290
                                </a>
290
                                </a>
291
                                {{#urls.export}}
291
                                {{#urls.export}}
292
                                    <a class="icon-no-margin" href="{{{.}}}" title="{{#str}} exportattachmentname, mod_forum, {{filename}} {{/str}}">
292
                                    <a class="icon-no-margin" href="{{{.}}}" title="{{#str}} exportattachmentname, mod_forum, {{filename}} {{/str}}">
Línea 305... Línea 305...
305
                    {{^readonly}}
305
                    {{^readonly}}
306
                        {{#html.rating}}
306
                        {{#html.rating}}
307
                            <div>{{{.}}}</div>
307
                            <div>{{{.}}}</div>
308
                        {{/html.rating}}
308
                        {{/html.rating}}
309
                    {{/readonly}}
309
                    {{/readonly}}
310
                    <div class="ml-auto d-flex flex-column">
310
                    <div class="ms-auto d-flex flex-column">
311
                        {{#haswordcount}}
311
                        {{#haswordcount}}
312
                            <span class="ml-auto badge bg-light text-dark">
312
                            <span class="ms-auto badge bg-light text-dark">
313
                                {{#str}} numwords, core, {{wordcount}} {{/str}}
313
                                {{#str}} numwords, core, {{wordcount}} {{/str}}
314
                            </span>
314
                            </span>
315
                        {{/haswordcount}}
315
                        {{/haswordcount}}
316
                        {{#html.taglist}}
316
                        {{#html.taglist}}
317
                            <div class="d-inline-block ml-auto {{#haswordcount}}mt-2{{/haswordcount}}">{{{.}}}</div>
317
                            <div class="d-inline-block ms-auto {{#haswordcount}}mt-2{{/haswordcount}}">{{{.}}}</div>
318
                        {{/html.taglist}}
318
                        {{/html.taglist}}
319
                    </div>
319
                    </div>
320
                </div>
320
                </div>
321
            {{/isdeleted}}
321
            {{/isdeleted}}
Línea 324... Línea 324...
324
                {{^isdeleted}}
324
                {{^isdeleted}}
325
                    {{^readonly}}
325
                    {{^readonly}}
326
                        <div class="d-flex mt-3">
326
                        <div class="d-flex mt-3">
327
                            {{#capabilities.reply}}
327
                            {{#capabilities.reply}}
328
                                <button
328
                                <button
329
                                    class="btn btn-primary btn-lg font-weight-bold px-4"
329
                                    class="btn btn-primary btn-lg fw-bold px-4"
330
                                    data-href="{{{urls.reply}}}"
330
                                    data-href="{{{urls.reply}}}"
331
                                    data-post-id="{{id}}"
331
                                    data-post-id="{{id}}"
332
                                    data-action="create-inpage-reply"
332
                                    data-action="create-inpage-reply"
333
                                    data-can-reply-privately="{{capabilities.canreplyprivately}}"
333
                                    data-can-reply-privately="{{capabilities.canreplyprivately}}"
334
                                >
334
                                >