课程英雄榜改成课程活跃度

This commit is contained in:
huang 2015-12-04 15:58:56 +08:00
parent 4d0956dff1
commit 4a41039fa6
1 changed files with 1 additions and 1 deletions

View File

@ -208,7 +208,7 @@
<div class="cl"></div>
<% unless contributor_course_scor(@course.id).count == 0 %>
<ul class="rankList">
<h4>课程贡献榜</h4>
<h4>课程活跃度</h4>
<% contributor_course_scor(@course.id).each do |contributor_score| %>
<% unless contributor_score.total_score ==0 %>
<li> <a href="javascript:void:(0);"><%=link_to image_tag(url_to_avatar(contributor_score.user), :width => "35", :height => "35", :class=> "rankPortrait"),user_path(contributor_score.user) %></a>