diff --git a/report/competency/classes/external.php b/report/competency/classes/external.php index b83b1a3fcd9..531a85bcba2 100644 --- a/report/competency/classes/external.php +++ b/report/competency/classes/external.php @@ -116,7 +116,8 @@ class external extends external_api { 'usercompetency' => user_competency_exporter::get_read_structure(), 'competency' => competency_summary_exporter::get_read_structure() )) - ) + ), + 'pushratingstouserplans' => new external_value(PARAM_BOOL, 'True if rating is push to user plans') )); } diff --git a/report/competency/templates/report.mustache b/report/competency/templates/report.mustache index fd4b1b9ad72..87ae6675f44 100644 --- a/report/competency/templates/report.mustache +++ b/report/competency/templates/report.mustache @@ -1,3 +1,4 @@ +
{{#pushratingstouserplans}}

@@ -10,7 +11,6 @@

{{/pushratingstouserplans}}
-