{{#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}}
{{#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}}
{{^competencies}}
{{#moduleid}}
{{#str}}nocompetenciesinactivity, tool_lp{{/str}}
{{/moduleid}}
{{^moduleid}}
{{#str}}nocompetenciesincourse, tool_lp{{/str}}
{{/moduleid}}
{{/competencies}}
{{#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}}