班级活跃度个数为0时不显示
This commit is contained in:
parent
4c45518913
commit
896f8a2ac7
|
@ -1,4 +1,5 @@
|
|||
<% unless contributor_course_scor(course.id).count == 0 %>
|
||||
<% count = contributor_course_scor(course.id).select{|ccs| ccs.con_score != 0 && !ccs.con_score.nil?}.count %>
|
||||
<% unless count == 0 %>
|
||||
<div>
|
||||
<ul class="rankList">
|
||||
<h3 style="font-size: 14px; font-weight: normal;">
|
||||
|
|
Loading…
Reference in New Issue