dev_SaaS
huang 6 years ago
parent 5191b8524c
commit 4c8ac8a8b6

@ -20,8 +20,8 @@
<span class="mr10 fl squareIconSpan">
<i class="iconfont icon-shixun fl mr3" data-tip-down="章节"></i><%= subject.stages_count %></span>
<% end %>
<% if subject.member_count > 0 %>
<span class="mr10 fl squareIconSpan"><i class="iconfont icon-chengyuan fl mr3" data-tip-down="学习人数"></i><%= subject.member_count %></span>
<% if subject.try(:member_count).to_i > 0 %>
<span class="mr10 fl squareIconSpan"><i class="iconfont icon-chengyuan fl mr3" data-tip-down="学习人数"></i><%= subject.try(:member_count) %></span>
<% end %>
</p>
</div>

Loading…
Cancel
Save