Ir a la última revisión | Autoría | Comparar con el anterior | 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 mod_forum/local/grades/view_gradeClasses required for JS:* noneData attributes required for JS:* data-region="grade-template"Context variables required for this template:* noneExample context (json):{"templatename": "core_grades/grades/grader/gradingpanel/point","grade": {"usergrade": 55,"maxgrade": 100,"timemodified": 1573543598},"hasgrade": true}}}<div class="container-fluid grade-display" data-region="view-grade">{{#grade}}<div class="row px-3"><h5 class="font-weight-bold description">{{#str}}gradenoun{{/str}}:</h5><p class="ml-auto">{{usergrade}}</p></div><div class="row px-3"><h5 class="font-weight-bold description">{{#str}}gradedby, forum{{/str}}:</h5><p class="ml-auto">{{#gradedby}}{{gradedby}}{{/gradedby}}{{^gradedby}}-{{/gradedby}}</p></div><div class="row px-3"><h5 class="font-weight-bold description">{{#str}}date{{/str}}:</h5><p class="ml-auto">{{#userdate}}{{timemodified}}, {{#str}} strftimedate, langconfig {{/str}}{{/userdate}}</p></div>{{/grade}}<div class="row px-3"><h5 class="font-weight-bold description">{{#str}}gradingstatus, forum{{/str}}</h5><p class="ml-auto">{{#hasgrade}}{{#str}}graded, forum{{/str}}{{/hasgrade}}{{^hasgrade}}{{#str}}notgraded, forum{{/str}}{{/hasgrade}}</p></div><div class="row p-3"><fieldset class="w-100" disabled="disabled"><div class="w-100" data-region="grade-template"></div></fieldset></div></div>