<%= course.name %> |
<% teacher_names = course.teacher_users.map(&:real_name).join('、') %>
<%= teacher_names || '--' %>
|
<%= course.evaluating_count.to_i %> |
<%= @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.is_end ? "已结束" : "正在进行" %> |
<%= @active_time[course.id]&.strftime('%Y-%m-%d %H:%M') %> |
<% end %>
<% else %>