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 core_grades/feedback_modal
20 The body of the modal displayed when viewing feedback for a grade item.
22 Context variables required for this template:
23 * feedbacktext - The full text of the feedback.
24 * user - Object containing information about the student.
25 * picture - The image corresponding to the user.
26 * fullname - The users full name.
27 * additionalfield - Additional text displayed below the users full name (e.g. the users email address)
29 Example context (json):
31 "feedbacktext": "<p>Example feedback text</p>",
33 "picture": "<img src=\"http://example.com/pluginfile.php/14/user/icon/boost/f2\" class=\"userpicture\" width=\"40\" alt=\"\">",
34 "fullname": "John Doe",
35 "additionalfield": "johndoe@example.com"
41 <div class="d-flex p-3">
42 <div class="d-block pe-3">
47 <span class="userinitials"></span>
51 <span class="p-0 font-weight-bold">
55 <span class="d-block small">