Proyectos de Subversion Moodle

Rev

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

Rev 1 Rev 1441
Línea 30... Línea 30...
30
    }
30
    }
31
}}
31
}}
32
{{< mod_forum/forum_discussion_nested_v2_first_post }}
32
{{< mod_forum/forum_discussion_nested_v2_first_post }}
33
    {{$subject}}
33
    {{$subject}}
34
        <h3
34
        <h3
35
            {{#isdeleted}}class="h6 font-weight-bold"{{/isdeleted}}
35
            {{#isdeleted}}class="h6 fw-bold"{{/isdeleted}}
36
            {{^isdeleted}}class="sr-only"{{/isdeleted}}
36
            {{^isdeleted}}class="visually-hidden"{{/isdeleted}}
37
            data-region-content="forum-post-core-subject"
37
            data-region-content="forum-post-core-subject"
38
        >{{{subject}}}</h3>
38
        >{{{subject}}}</h3>
39
    {{/subject}}
39
    {{/subject}}
40
    {{$footer}}
40
    {{$footer}}
41
        {{^isdeleted}}
41
        {{^isdeleted}}
42
            {{^readonly}}
42
            {{^readonly}}
43
                {{#capabilities.reply}}
43
                {{#capabilities.reply}}
44
                    <div class="d-flex mt-1">
44
                    <div class="d-flex mt-1">
45
                        <button
45
                        <button
46
                            class="font-weight-bold btn btn-link px-0"
46
                            class="fw-bold btn btn-link px-0"
47
                            data-href="{{{urls.reply}}}"
47
                            data-href="{{{urls.reply}}}"
48
                            data-post-id="{{id}}"
48
                            data-post-id="{{id}}"
49
                            data-action="create-inpage-reply"
49
                            data-action="create-inpage-reply"
50
                            data-can-reply-privately="{{capabilities.canreplyprivately}}"
50
                            data-can-reply-privately="{{capabilities.canreplyprivately}}"
51
                        >
51
                        >
Línea 56... Línea 56...
56
            {{/readonly}}
56
            {{/readonly}}
57
        {{/isdeleted}}
57
        {{/isdeleted}}
58
    {{/footer}}
58
    {{/footer}}
59
    {{$replies}}
59
    {{$replies}}
60
        <div class="indent my-4" data-region="replies-visibility-toggle-container" style="display: none">
60
        <div class="indent my-4" data-region="replies-visibility-toggle-container" style="display: none">
61
            <button class="btn btn-link pl-0" data-action="show-replies">
61
            <button class="btn btn-link ps-0" data-action="show-replies">
62
                {{#str}}
62
                {{#str}}
63
                    showpreviousrepliescount,
63
                    showpreviousrepliescount,
64
                    mod_forum,
64
                    mod_forum,
65
                    <span data-region="reply-count">{{#totalreplycount}}{{.}}{{/totalreplycount}}{{^totalreplycount}}0{{/totalreplycount}}</span>
65
                    <span data-region="reply-count">{{#totalreplycount}}{{.}}{{/totalreplycount}}{{^totalreplycount}}0{{/totalreplycount}}</span>
66
                {{/str}}
66
                {{/str}}
67
            </button>
67
            </button>
68
            <button class="btn btn-link hidden pl-0" data-action="hide-replies">
68
            <button class="btn btn-link hidden ps-0" data-action="hide-replies">
69
                {{#str}}
69
                {{#str}}
70
                    hidepreviousrepliescount,
70
                    hidepreviousrepliescount,
71
                    mod_forum,
71
                    mod_forum,
72
                    <span data-region="reply-count">{{#totalreplycount}}{{.}}{{/totalreplycount}}{{^totalreplycount}}0{{/totalreplycount}}</span>
72
                    <span data-region="reply-count">{{#totalreplycount}}{{.}}{{/totalreplycount}}{{^totalreplycount}}0{{/totalreplycount}}</span>
73
                {{/str}}
73
                {{/str}}