AutorÃa | Ultima modificación | Ver Log |
{{!
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/datafilter/filter_match
Template for the form containing one or more filter rows.
Example context (json):
{
"filtertypes": [
{
"name": "status",
"title": "Status",
"values": [
{
"value": 1,
"title": "Active"
},
{
"value": 0,
"title": "Suspended"
}
]
}
]
}
}}
<div data-filterregion="filtermatch" class="hidden">
<label for="core-filter-jointype-{{uniqid}}" class="my-0" aria-hidden="true">
{{#str}}match{{/str}}
</label>
<select class="custom-select" data-filterfield="join" id="core-filter-jointype-{{uniqid}}"
aria-label="{{#str}}filtersetmatchdescription{{/str}}">
<option value="0">{{#str}}none{{/str}}</option>
<option value="1">{{#str}}any{{/str}}</option>
<option value="2" selected>{{#str}}all{{/str}}</option>
</select>
<span aria-hidden="true">{{#str}}matchofthefollowing{{/str}}</span>
</div>