{{! 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 . }} {{! @template tool_lp/course_competencies_page Course competencies template. For a full list of the context for this template see the course_competencies_page renderable. This template includes ajax functionality, so it cannot be shown in the template library. }}
{{#canmanagecoursecompetencies}} {{/canmanagecoursecompetencies}}
{{#cangradecompetencies}}

{{#settings.pushratingstouserplans}} {{#str}}coursecompetencyratingsarepushedtouserplans, tool_lp{{/str}} {{/settings.pushratingstouserplans}} {{^settings.pushratingstouserplans}} {{#str}}coursecompetencyratingsarenotpushedtouserplans, tool_lp{{/str}} {{/settings.pushratingstouserplans}} {{#canconfigurecoursecompetencies}} {{#pix}}t/edit, core, {{#str}}edit{{/str}}{{/pix}} {{/canconfigurecoursecompetencies}}

{{/cangradecompetencies}}
{{#statistics}} {{> tool_lp/course_competency_statistics }} {{/statistics}}
{{#competencies}} {{/competencies}}
{{#canmanagecoursecompetencies}}
{{/canmanagecoursecompetencies}} {{#competency}}

{{{competency.shortname}}} {{competency.idnumber}}

{{{competency.description}}}

{{/competency}} {{#comppath}} {{#str}}path, tool_lp{{/str}} {{> tool_lp/competency_path }} {{/comppath}} {{#usercompetencycourse}} {{#grade}} {{gradename}} {{/grade}} {{/usercompetencycourse}} {{#canmanagecoursecompetencies}}
{{/canmanagecoursecompetencies}}

{{#str}}activities{{/str}}

    {{#coursemodules}}
  • {{name}}
  • {{/coursemodules}} {{^coursemodules}}
  • {{#str}}noactivities, tool_lp{{/str}}
  • {{/coursemodules}}

{{#str}}userplans, core_competency{{/str}}

    {{#plans}}
  • {{{name}}}
  • {{/plans}} {{^plans}}
  • {{#str}}nouserplanswithcompetency, core_competency{{/str}}
  • {{/plans}}

{{^competencies}}

{{#moduleid}} {{#str}}nocompetenciesinactivity, tool_lp{{/str}} {{/moduleid}} {{^moduleid}} {{#str}}nocompetenciesincourse, tool_lp{{/str}} {{/moduleid}}

{{/competencies}}
{{#canmanagecompetencyframeworks}}

{{#str}}managecompetenciesandframeworks, tool_lp{{/str}}

{{/canmanagecompetencyframeworks}}
{{#js}} require(['tool_lp/competencies'], function(mod) { (new mod({{courseid}}, 'course', {{pagecontextid}})); }); {{/js}} {{#canconfigurecoursecompetencies}} {{#js}} require(['tool_lp/course_competency_settings'], function(Mod) { (new Mod('[data-action=configure-course-competency-settings]')); }); {{/js}} {{/canconfigurecoursecompetencies}}