{{! 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 page template. Data attributes required for JS: * data-action = link-competency * data-action = delete-competency-link * data-region = user-evidence-page * data-id = user evidence ID, or competency ID * data-userid = user evidence user ID Context variables required for this template: * userevidence - The user evidence * pluginbaseurl - The plugin base URL }} {{#userevidence}}

{{{name}}} {{#canmanage}} {{#pix}}t/edit, core, {{#str}}editthisuserevidence, tool_lp{{/str}}{{/pix}} {{/canmanage}}

{{#canmanage}}
{{#userhasplan}} {{/userhasplan}}
{{/canmanage}}
{{#description}}
{{{description}}}
{{/description}}
    {{#url}}
  • {{#pix}}url, tool_lp{{/pix}} {{urlshort}}
  • {{/url}} {{#files}}
  • {{#pix}}{{icon}}{{/pix}} {{filename}}
  • {{/files}}

{{#str}}linkedcompetencies, tool_lp{{/str}}

{{#canmanage}} {{/canmanage}} {{#usercompetencies}} {{#userevidence.canmanage}} {{/userevidence.canmanage}} {{/usercompetencies}}
{{#str}}shortname, tool_lp{{/str}} {{#str}}status, tool_lp{{/str}} / {{#str}}reviewer, tool_lp{{/str}}{{#str}}actions, tool_lp{{/str}}
{{{competency.shortname}}} {{usercompetency.statusname}} {{#usercompetency.reviewer.fullname}} / {{usercompetency.reviewer.fullname}}{{/usercompetency.reviewer.fullname}}
{{^usercompetencies}}

{{#str}}nocompetenciesinevidence, tool_lp{{/str}}

{{/usercompetencies}}
{{#canmanage}} {{#js}} require(['tool_lp/user_evidence_actions'], function(UserEvidenceActions) { var uea = new UserEvidenceActions('evidence'); uea.registerEvents(); }); {{/js}} {{/canmanage}} {{#js}} require(['tool_lp/competencydialogue'], function(Compdialogue) { Compdialogue.init(); }); {{/js}} {{/userevidence}}