{{! 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 . }} {{! User evidence list page. Data attributes required for JS: * data-action = user-evidence-delete * data-region = user-evidence-list * data-region = user-evidence-node * data-id = user evidence ID * data-userid = user evidence user ID Context variables required for this template: * userid - The ID of the user whose page we're viewing * canmanage - Whether the current user can manage the evidence * evidence - The list of evidence * navigation - Buttons to add to the page * pluginbaseurl - The plugin base URL }}
{{#navigation}} {{{.}}} {{/navigation}}
{{#canmanage}} {{/canmanage}} {{#evidence}} {{#canmanage}} {{/evidence}}
{{#str}}listofevidence, tool_lp{{/str}}
{{#str}}userevidencename, tool_lp{{/str}} {{#str}}userevidencesummary, tool_lp{{/str}} {{#str}}linkedcompetencies, tool_lp{{/str}} ({{#str}}status, tool_lp{{/str}} / {{#str}}reviewer, tool_lp{{/str}}){{#str}}actions, tool_lp{{/str}}
{{{name}}} {{^hasurlorfiles}} - {{/hasurlorfiles}} {{#hasurlorfiles}} {{/hasurlorfiles}} {{^competencycount}} - {{/competencycount}} {{#competencycount}}
    {{#usercompetencies}}
  • {{{competency.shortname}}} {{competency.idnumber}} ({{usercompetency.statusname}}{{#usercompetency.reviewer.fullname}} / {{usercompetency.reviewer.fullname}}{{/usercompetency.reviewer.fullname}})
  • {{/usercompetencies}}
{{/competencycount}}
{{/canmanage}}
{{^evidence}}

{{#str}}nouserevidence, tool_lp{{/str}}

{{/evidence}}
{{#js}} require(['tool_lp/user_evidence_actions'], function(UserEvidenceActions) { var uea = new UserEvidenceActions('list'); uea.enhanceMenubar('.user-evidence-actions'); }); {{/js}}