mirror of
https://github.com/moodle/moodle.git
synced 2025-08-11 03:46:42 +02:00
MDL-52916 cbe: Refactor competency breakdown report
Redesign this to fit when there are unlimited competencies / users.
This commit is contained in:
parent
47cddb9c1f
commit
21e0dd61e5
12 changed files with 357 additions and 116 deletions
|
@ -50,4 +50,14 @@ class renderer extends plugin_renderer_base {
|
|||
return parent::render_from_template('report_competency/report', $data);
|
||||
}
|
||||
|
||||
/**
|
||||
* Defer to template.
|
||||
*
|
||||
* @param user_course_navigation $nav
|
||||
* @return string
|
||||
*/
|
||||
public function render_user_course_navigation(user_course_navigation $nav) {
|
||||
$data = $nav->export_for_template($this);
|
||||
return parent::render_from_template('report_competency/user_course_navigation', $data);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue