<% if @members.count != 0 %> <% @members.each do |member| %> <% end %>
姓名 <%= link_to '发布资源', course_statistics_course_path(@course, :type => 'resource_num', :order => (@order == "desc" ? "asc" : "desc")), method: 'get', remote: true, :style => 'color:#000000;'%> <% if @type == "resource_num" && @order == 'desc' %> <% elsif @type == "resource_num" && @order == 'asc' %> <% end %> <%= link_to '发布帖子', course_statistics_course_path(@course, :type => 'message_num', :order => (@order == "desc" ? "asc" : "desc")), method: 'get', remote: true, :style => 'color:#000000;'%> <% if @type == "message_num" && @order == 'desc' %> <% elsif @type == "message_num" && @order == 'asc' %> <% end %> <%= link_to '帖子回复', course_statistics_course_path(@course, :type => 'message_reply_num', :order => (@order == "desc" ? "asc" : "desc")), method: 'get', remote: true, :style => 'color:#000000;'%> <% if @type == "message_reply_num" && @order == 'desc' %> <% elsif @type == "message_reply_num" && @order == 'asc' %> <% end %> <%= link_to '发布通知', course_statistics_course_path(@course, :type => 'news_num', :order => (@order == "desc" ? "asc" : "desc")), method: 'get', remote: true, :style => 'color:#000000;'%> <% if @type == "news_num" && @order == 'desc' %> <% elsif @type == "news_num" && @order == 'asc' %> <% end %> <%= link_to '通知回复', course_statistics_course_path(@course, :type => 'news_reply_num', :order => (@order == "desc" ? "asc" : "desc")), method: 'get', remote: true, :style => 'color:#000000;'%> <% if @type == "news_reply_num" && @order == 'desc' %> <% elsif @type == "news_reply_num" && @order == 'asc' %> <% end %> <%= link_to '作业回复', course_statistics_course_path(@course, :type => 'homework_journal_num', :order => (@order == "desc" ? "asc" : "desc")), method: 'get', remote: true, :style => 'color:#000000;'%> <% if @type == "homework_journal_num" && @order == 'desc' %> <% elsif @type == "homework_journal_num" && @order == 'asc' %> <% end %> <%= link_to '班级留言', course_statistics_course_path(@course, :type => 'journal_num', :order => (@order == "desc" ? "asc" : "desc")), method: 'get', remote: true, :style => 'color:#000000;'%> <% if @type == "journal_num" && @order == 'desc' %> <% elsif @type == "journal_num" && @order == 'asc' %> <% end %> <%= link_to '活跃度', course_statistics_course_path(@course, :type => 'act_score', :order => (@order == "desc" ? "asc" : "desc")), method: 'get', remote: true, :style => 'color:#000000;'%> <% if @type == "act_score" && @order == 'desc' %> <% elsif @type == "act_score" && @order == 'asc' %> <% end %>
<%= link_to member.user.show_name, user_path(member.user), :class => 'course_class_users_st_name' %> <%= member.resource_num %> <%= member.message_num %> <%= member.message_reply_num %> <%= member.news_num %> <%= member.news_reply_num %> <%= member.homework_journal_num %> <%= member.journal_num %> <%= member.act_score %>

资源发布数*5=<%= member.resource_num %>*5=<%= member.resource_num.to_i * 5 %>
帖子发布数*2=<%= member.message_num %>*2=<%= member.message_num.to_i * 2 %>
帖子回复数*1=<%= member.message_reply_num %>*1=<%= member.message_reply_num.to_i * 1 %>
通知发布数*1=<%= member.news_num %>*1=<%= member.news_num.to_i * 1 %>
通知回复数*1=<%= member.news_reply_num %>*1=<%= member.news_reply_num.to_i * 1 %>
作业留言数*1=<%= member.homework_journal_num %>*1=<%= member.homework_journal_num.to_i * 1 %>
班级留言数*1=<%= member.journal_num %>*1=<%= member.journal_num.to_i * 1 %>
总得分:<%= member.act_score %>

<% else%>

没有数据可以显示!

<% end %>