diff --git a/lms/templates/courseware/instructor_dashboard.html b/lms/templates/courseware/instructor_dashboard.html index 967088de19..8053f67a88 100644 --- a/lms/templates/courseware/instructor_dashboard.html +++ b/lms/templates/courseware/instructor_dashboard.html @@ -345,10 +345,10 @@ function goto( mode) %if modeflag.get('Analytics'):
- Number of students enrolled: + Number of students enrolled for ${students_enrolled_json['data'][0]['course_id']}: % if students_enrolled_json is not None: % if students_enrolled_json['status'] == 'success': - ${students_enrolled_json['data']['value']} as of ${students_enrolled_json['time']} + ${students_enrolled_json['data'][0]['count']} as of ${students_enrolled_json['time']} % else: ${students_enrolled_json['error']} % endif @@ -358,10 +358,10 @@ function goto( mode)
- Number of active students for the past 7 days: + Number of students active for ${students_active_json['data'][0]['course_id']} for the past 7 days: % if students_active_json is not None: % if students_active_json['status'] == 'success': - ${students_active_json['data']['value']} as of ${students_active_json['time']} + ${students_active_json['data'][0]['count']} as of ${students_active_json['time']} % else: ${students_active_json['error']} % endif @@ -407,8 +407,8 @@ function goto( mode)
| Problem | Number of students |
|---|---|
| ${k} | ${v} |
| ${row['module_id']} | ${row['count']} |
Students per module who attempted at least one problem @@ -429,8 +430,8 @@ function goto( mode)
| Module | Number of students |
|---|---|
| ${k} | ${v} |
| ${row['module_id']} | ${row['count']} |
+
+
Grade distribution:
+ + % if overall_grade_distribution is not None: + % if overall_grade_distribution['status'] == 'success': +| Grade | Number of students |
|---|---|
| ${row['overall_grade']} | ${row['count']} |
Number of students who dropped off per day before becoming inactive:
## ## % if dropoff_per_day is not None: @@ -464,26 +486,6 @@ function goto( mode) ## % endif ## ## -##-##
Grade distribution:
-## -## % if overall_grade_distribution is not None: -## % if overall_grade_distribution['status'] == 'success': -##| Grade | Number of students |
|---|---|
| ${k} | ${v} |