diff --git a/app/views/colleges/_course_statistics.html.erb b/app/views/colleges/_course_statistics.html.erb index b8608dc0..087941c3 100644 --- a/app/views/colleges/_course_statistics.html.erb +++ b/app/views/colleges/_course_statistics.html.erb @@ -20,11 +20,11 @@ <%= course_managers course.teachers %> <%= course.evaluating_count %> - <%= @student_count.fetch(course.id, 0) %> - <%= @shixun_work_count.fetch(course.id, 0) %> - <%= @attachment_count.fetch(course.id, 0) %> - <%= @message_count.fetch(course.id, 0) %> - <%= @exercise_count.fetch(course.id, 0) + @poll_count.fetch(course.id, 0) + @other_work_count.fetch(course.id, 0) %> + <%= course.student_count.to_i %> + <%= course.hcm_count.to_i %> + <%= course.attachments_count.to_i %> + <%= course.messages_count.to_i %> + <%= course.hcm_nonshixun_count.to_i + course.exercises_count.to_i + course.polls_count.to_i %> "><%= course.is_end ? "已结束" : "正在进行" %> <%= format_time @active_time[course.id] %>