Sindbad~EG File Manager

Current Path : /var/www/html/aprender.faexito.org/lib/templates/local/comboboxsearch/
Upload File :
Current File : /var/www/html/aprender.faexito.org/lib/templates/local/comboboxsearch/resultitem.mustache

{{!
    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 <http://www.gnu.org/licenses/>.
}}
{{!
    @template core/local/comboboxsearch/resultitem

    Template for the individual result item.

    Context variables required for this template:
    * id - Result item system ID.
    * name - Result item human readable name.
    * link - The link used to redirect upon self to show only this specific result item.

    Example context (json):
    {
        "id": 2,
        "name": "Foo bar",
        "link": "http://foo.bar/grade/report/grader/index.php?id=42&userid=2"
    }
}}
<li class="w-100 result-row" role="none" id="result-row-{{id}}">
    <a role="option" id="result-{{id}}" href="{{{link}}}" class="dropdown-item d-flex px-0 py-1 align-items-center" tabindex="-1" aria-label="{{$arialabel}}{{#str}}viewresults, core, {{name}}{{/str}}{{/arialabel}}">
        {{$content}}
            <span class="d-block w-100 px-2 text-truncate">
                {{name}}
            </span>
        {{/content}}
    </a>
</li>

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists