{{{plan.description}}}
{{#plan.iscompleted}}
{{#str}} usercompetencyfrozen, tool_lp {{/str}}
{{/plan.iscompleted}}
{{#competency}}
{{> tool_lp/competency_summary }}
{{/competency}}
{{#usercompetency}}
- {{#str}}reviewstatus, tool_lp{{/str}}
- {{statusname}}
{{#isstatusinreview}}
- {{reviewer.fullname}}
{{/isstatusinreview}}
{{#isrequestreviewallowed}}{{/isrequestreviewallowed}}
{{#iscancelreviewrequestallowed}}{{/iscancelreviewrequestallowed}}
{{#isstartreviewallowed}}{{/isstartreviewallowed}}
{{#isstopreviewallowed}}{{/isstopreviewallowed}}
- {{#str}}proficient, tool_lp{{/str}}
-
{{proficiencyname}}
- {{#str}}rating, tool_lp{{/str}}
- {{gradename}}
{{#cangrade}}
{{/cangrade}}
{{#js}}
require(['jquery', 'tool_lp/grade_user_competency_inline', 'tool_lp/user_competency_info', 'tool_lp/user_competency_workflow'], function($, mod, info, UserCompWorkflow) {
var competencyElement = $('[data-region-id="{{uniqid}}"]');
var infoReloader = new info(competencyElement, '{{competency.competency.id}}', '{{user.id}}', '{{plan.id}}');
var ucw = new UserCompWorkflow();
ucw.registerEvents('[data-region="user-competency-status"]');
ucw.on('status-changed', infoReloader.reload.bind(infoReloader));
ucw.on('error-occured', infoReloader.reload.bind(infoReloader));
{{#cangrade}}
var inlineGrader = new mod('#rate_{{uniqid}}', '{{competency.scaleid}}', '{{competency.competency.id}}', '{{user.id}}', '{{plan.id}}', '', '{{#str}}chooserating, tool_lp{{/str}}');
inlineGrader.on('competencyupdated', infoReloader.reload.bind(infoReloader));
{{/cangrade}}
});
{{/js}}
{{/usercompetency}}
{{#usercompetencyplan}}
- {{#str}}rating, tool_lp{{/str}}
- {{gradename}} - {{#str}}plancompleted, tool_lp{{/str}}
- {{#str}}proficient, tool_lp{{/str}}
-
{{proficiencyname}}
{{/usercompetencyplan}}
{{#commentarea}}
{{#canpostorhascomments}}
{{>tool_lp/comment_area}}
{{/canpostorhascomments}}
{{/commentarea}}
- {{#str}}evidence, tool_lp{{/str}}
-
{{#evidence}}
{{> tool_lp/evidence_summary }}
{{/evidence}}
{{^evidence}}
{{#str}}noevidence, tool_lp{{/str}}
{{/evidence}}
{{/usercompetencysummary}}