Proyectos de Subversion Moodle

Rev

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

Rev 1 Rev 1441
Línea 26... Línea 26...
26
    Example context (json):
26
    Example context (json):
27
    {
27
    {
28
        "id": 2,
28
        "id": 2,
29
        "fullname": "Foo bar",
29
        "fullname": "Foo bar",
30
        "profileimageurl": "http://foo.bar/pluginfile.php/79/user/icon/boost/f1?rev=7630",
30
        "profileimageurl": "http://foo.bar/pluginfile.php/79/user/icon/boost/f1?rev=7630",
31
        "matchingField": "<span class=\"font-weight-bold\">Foo</span> bar",
31
        "matchingField": "<span class=\"fw-bold\">Foo</span> bar",
32
        "matchingFieldName": "Fullname"
32
        "matchingFieldName": "Fullname"
33
    }
33
    }
34
}}
34
}}
35
{{<core/local/comboboxsearch/resultitem }}
35
{{<core/local/comboboxsearch/resultitem }}
36
    {{$arialabel}}{{fullname}}{{/arialabel}}
36
    {{$arialabel}}{{fullname}}{{/arialabel}}
Línea 42... Línea 42...
42
            {{/profileimageurl}}
42
            {{/profileimageurl}}
43
            {{^profileimageurl}}
43
            {{^profileimageurl}}
44
                <span class="userinitials"></span>
44
                <span class="userinitials"></span>
45
            {{/profileimageurl}}
45
            {{/profileimageurl}}
46
        </span>
46
        </span>
47
        <span class="d-block pr-3 w-75">
47
        <span class="d-block pe-3 w-75">
48
                <span class="d-block w-100 p-0 text-truncate font-weight-bold">
48
                <span class="d-block w-100 p-0 text-truncate fw-bold">
49
                    {{fullname}}
49
                    {{fullname}}
50
                </span>
50
                </span>
51
            <span class="d-block w-100 pull-left text-truncate small" aria-hidden="true">
51
            <span class="d-block w-100 pull-left text-truncate small" aria-hidden="true">
52
                {{{matchingField}}}
52
                {{{matchingField}}}
53
            </span>
53
            </span>
54
            <span class="sr-only" aria-label="{{#str}}usermatchedon, core{{/str}}">{{matchingFieldName}}</span>
54
            <span class="visually-hidden" aria-label="{{#str}}usermatchedon, core{{/str}}">{{matchingFieldName}}</span>
55
        </span>
55
        </span>
56
    {{/content}}
56
    {{/content}}
57
{{/core/local/comboboxsearch/resultitem}}
57
{{/core/local/comboboxsearch/resultitem}}