Skip to content

Commit

Permalink
MDL-53658 tool_lp: Stacking of messages in competency breakdown report
Browse files Browse the repository at this point in the history
  • Loading branch information
taboubi authored and Frederic Massart committed Apr 18, 2016
1 parent 3027fe2 commit 2f411bc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion report/competency/classes/external.php
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,8 @@ public static function data_for_report_returns() {
'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')
));
}

Expand Down
2 changes: 1 addition & 1 deletion report/competency/templates/report.mustache
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<div data-region="competency-breakdown-report" data-courseid="{{course.id}}" data-userid="{{user.id}}">
<div data-region="configurecoursecompetencies">
{{#pushratingstouserplans}}
<p class="alert">
Expand All @@ -10,7 +11,6 @@
</p>
{{/pushratingstouserplans}}
</div>
<div data-region="competency-breakdown-report" data-courseid="{{course.id}}" data-userid="{{user.id}}">
<div class="row-fluid">
<span class="span6">
<table class="table table-bordered">
Expand Down

0 comments on commit 2f411bc

Please sign in to comment.