MDL-52743 tool_lp: Course competency statistics

Note - the statistics you see depends on whether you can recieve competency
ratings in the course. So students see their own progress as a %. Graders
see the least proficient competencies for the course.
This commit is contained in:
Damyon Wiese 2016-03-30 17:05:55 +08:00 committed by Frederic Massart
parent 5548789716
commit f1979b60a1
11 changed files with 447 additions and 0 deletions

View file

@ -43,6 +43,9 @@
</p>
{{/canconfigurecoursecompetencies}}
</div>
{{#statistics}}
{{> tool_lp/course_competency_statistics }}
{{/statistics}}
<div data-region="coursecompetencies">
<table class="generaltable fullwidth managecompetencies">
<tbody class="drag-parentnode">
@ -59,6 +62,7 @@
{{/canmanagecoursecompetencies}}
{{#competency}}
<a href="{{pluginbaseurl}}user_competency_in_course.php?courseid={{courseid}}&competencyid={{competency.id}}&userid={{gradableuserid}}"
id="competency-info-link-{{competency.id}}"
title="{{#str}}viewdetails, tool_lp{{/str}}">
<p><strong>{{competency.shortname}} <em>{{competency.idnumber}}</em></strong></p>
</a>