|
|
@ -20,11 +20,11 @@
|
|
|
|
<%= course_managers course.teachers %>
|
|
|
|
<%= course_managers course.teachers %>
|
|
|
|
</td>
|
|
|
|
</td>
|
|
|
|
<td class="edu-txt-center"><%= course.evaluating_count %></td>
|
|
|
|
<td class="edu-txt-center"><%= course.evaluating_count %></td>
|
|
|
|
<td class="edu-txt-center"><%= @student_count.fetch(course.id, 0) %></td>
|
|
|
|
<td class="edu-txt-center"><%= course.student_count.to_i %></td>
|
|
|
|
<td class="edu-txt-center"><%= @shixun_work_count.fetch(course.id, 0) %></td>
|
|
|
|
<td class="edu-txt-center"><%= course.hcm_count.to_i %></td>
|
|
|
|
<td class="edu-txt-center"><%= @attachment_count.fetch(course.id, 0) %></td>
|
|
|
|
<td class="edu-txt-center"><%= course.attachments_count.to_i %></td>
|
|
|
|
<td class="edu-txt-center"><%= @message_count.fetch(course.id, 0) %></td>
|
|
|
|
<td class="edu-txt-center"><%= course.messages_count.to_i %></td>
|
|
|
|
<td class="edu-txt-center"><%= @exercise_count.fetch(course.id, 0) + @poll_count.fetch(course.id, 0) + @other_work_count.fetch(course.id, 0) %></td>
|
|
|
|
<td class="edu-txt-center"><%= course.hcm_nonshixun_count.to_i + course.exercises_count.to_i + course.polls_count.to_i %></td>
|
|
|
|
<td class="edu-txt-center <%= course.is_end ? "color-grey-98" : "color-orange" %>"><%= course.is_end ? "已结束" : "正在进行" %></td>
|
|
|
|
<td class="edu-txt-center <%= course.is_end ? "color-grey-98" : "color-orange" %>"><%= course.is_end ? "已结束" : "正在进行" %></td>
|
|
|
|
<td class="edu-txt-center color-grey-9"><%= format_time @active_time[course.id] %></td>
|
|
|
|
<td class="edu-txt-center color-grey-9"><%= format_time @active_time[course.id] %></td>
|
|
|
|
</tr>
|
|
|
|
</tr>
|
|
|
|