2 This file is part of Moodle - http://moodle.org/
4 Moodle is free software: you can redistribute it and/or modify
5 it under the terms of the GNU General Public License as published by
6 the Free Software Foundation, either version 3 of the License, or
7 (at your option) any later version.
9 Moodle is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 GNU General Public License for more details.
14 You should have received a copy of the GNU General Public License
15 along with Moodle. If not, see <http://www.gnu.org/licenses/>.
18 @template mod_forum/local/grades/local/view_grade
20 Classes required for JS:
23 Data attributes required for JS:
24 * data-region="grade-template"
26 Context variables required for this template:
29 Example context (json):
31 "templatename": "core_grades/grades/grader/gradingpanel/point",
35 "timemodified": 1573543598
40 <div class="container-fluid grade-display" data-region="view-grade">
42 <div class="row px-3">
43 <h5 class="font-weight-bold description">{{#str}}gradenoun{{/str}}:</h5>
44 <p class="ml-auto">{{usergrade}}</p>
46 <div class="row px-3">
47 <h5 class="font-weight-bold description">{{#str}}gradedby, forum{{/str}}:</h5>
57 <div class="row px-3">
58 <h5 class="font-weight-bold description">{{#str}}date{{/str}}:</h5>
59 <p class="ml-auto">{{#userdate}}{{timemodified}}, {{#str}} strftimedate, langconfig {{/str}}{{/userdate}}</p>
62 <div class="row px-3">
63 <h5 class="font-weight-bold description">
64 {{#str}}gradingstatus, forum{{/str}}
68 {{#str}}graded, forum{{/str}}
71 {{#str}}notgraded, forum{{/str}}
76 <fieldset class="w-100" disabled="disabled">
77 <div class="w-100" data-region="grade-template"></div>