|
@@ -184,7 +184,7 @@ $(document).ready(function()
|
184
|
184
|
if(objective.courses){
|
185
|
185
|
$.each(objective.courses, function(index, course_code){
|
186
|
186
|
if(course_code.criteria.length){
|
187
|
|
-
|
|
187
|
+
|
188
|
188
|
$.each(course_code.students, function(index, student){
|
189
|
189
|
if(wholeDict[student.student_id] === undefined){
|
190
|
190
|
wholeDict[student.student_id] = { 'student':student.student_id,
|
|
@@ -213,7 +213,16 @@ $(document).ready(function()
|
213
|
213
|
tbody.append(tr);
|
214
|
214
|
});
|
215
|
215
|
table.append(tbody);
|
216
|
|
- div.append('<h3>'+course_code.code + ' '+ course_code.number+'</h3>')
|
|
216
|
+ Course_and_transformative = '<h3>'+course_code.code + ' '+ course_code.number+'</h3><hr>';
|
|
217
|
+ if(course_code.transforming_actions.length){
|
|
218
|
+ Course_and_transformative += '<h5> This course was tied to the following transformative actions</h5>';
|
|
219
|
+ Course_and_transformative += '<ol>';
|
|
220
|
+ $.each(course_code.transforming_actions, function(index, transformative_action){
|
|
221
|
+ Course_and_transformative += '<li><p><strong>'+transformative_action.at_text+'</strong>: '+transformative_action.description+'</p></li>'
|
|
222
|
+ })
|
|
223
|
+ }
|
|
224
|
+
|
|
225
|
+ div.append(Course_and_transformative)
|
217
|
226
|
div.append(table);
|
218
|
227
|
table.DataTable();
|
219
|
228
|
|