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 modifyit under the terms of the GNU General Public License as published bythe 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 ofMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See theGNU General Public License for more details.You should have received a copy of the GNU General Public Licensealong with Moodle. If not, see <http://www.gnu.org/licenses/>.}}{{!@template gradereport_user/user_report_category_contentTemplate for the content of a category cell in the user report table.Context variables required for this template:* categoryid - The grade category ID* categoryname - The grade category nameExample context (json):{"categoryid": "2","categoryname": "Grade category 1"}}}<div class="d-flex category-content"><a aria-expanded="true" role="button" data-categoryid={{categoryid}} data-target=".cat_{{categoryid}}[data-hidden='false']" class="btn btn-icon mr-1 toggle-category" href="#"><span class="collapsed text-nowrap" title="{{#str}} collapse, core {{/str}}"><svg aria-label="{{#str}} expand, core {{/str}}" width="24" height="24" fill="none" viewBox="0 0 24 24"><path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M15.25 10.75L12 14.25L8.75 10.75"></path></svg></span><span class="expanded text-nowrap" title="{{#str}} expand, core {{/str}}"><svg aria-label="{{#str}} collapse, core {{/str}}" width="24" height="24" fill="none" viewBox="0 0 24 24"><path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M15.25 14.25L12 10.75L8.75 14.25"></path></svg></span></a><span>{{{categoryname}}}</span></div>