{{!
This file is part of Moodle - http://moodle.org/
Moodle is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
Moodle is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with Moodle. If not, see .
}}
{{!
@template core_user/comboboxsearch/resultitem
Template for the individual result item.
Context variables required for this template:
* id - User system ID.
* fullname - Users' full name.
* profileimageurl - Link for the users' large profile image.
* matchingField - The field in the user object that matched the search criteria.
* matchingFieldName - The name of the field that was matched upon for A11y purposes.
Example context (json):
{
"id": 2,
"fullname": "Foo bar",
"profileimageurl": "http://foo.bar/pluginfile.php/79/user/icon/boost/f1?rev=7630",
"matchingField": "Foo bar",
"matchingFieldName": "Fullname"
}
}}
{{
{{#profileimageurl}}
{{/profileimageurl}}
{{^profileimageurl}}
{{/profileimageurl}}
{{fullname}}
{{{matchingField}}}
{{matchingFieldName}}
{{/content}}
{{/core/local/comboboxsearch/resultitem}}