diff --git a/course_competency.php b/course_competency.php index c503926ba474fcc5bec56cfbd2253d4a953dbece..9a456ac63a844ca4a1958c65099b2ea5bb8c3021 100644 --- a/course_competency.php +++ b/course_competency.php @@ -309,7 +309,6 @@ if ( count($cm_ids) !== 0 ) { - $data=array(); $data['is_enrolled']=$is_enrolled; $data['link_switch']=$CFG->wwwroot."/blocks/competency_iena/course_competency.php"; @@ -338,6 +337,7 @@ $data['cm_ids']=$modules; $data['proficiency']=$proficiency; $data['proficiency_class']=$proficiency_class; $data['eval']=$eval; +$data['review_asked']=$review_asked; $renderer = $PAGE->get_renderer('block_competency_iena'); diff --git a/templates/dashboard_competency_student.mustache b/templates/dashboard_competency_student.mustache index ea32a475e3e6d28274a00a6d3c71c85fe73877f5..1992d5e1ae64073782c3fb59f7dcd05304edda75 100644 --- a/templates/dashboard_competency_student.mustache +++ b/templates/dashboard_competency_student.mustache @@ -119,7 +119,7 @@ {{#count_all_evidences}} <div class='alert alert-secondary'> <div class='col-12'> - <h2 class='h4'>{{#str}} eval_2, block_competency_iena {{/str}}</h2> + <h2 class='h4'>{{#str}} assessments, block_competency_iena {{/str}}</h2> <div class="iena-chart-unique"> {{{chart}}} </div>