项目评分为0 的时候显示
This commit is contained in:
parent
fb02a1cf13
commit
d656d3e94c
|
@ -25,13 +25,13 @@
|
|||
<p class="sy_cgrey">
|
||||
<span class=" mr15">项目评分:
|
||||
<% if @project.project_type == 0 %>
|
||||
<% unless static_project_score(@project.project_score) == 0 %>
|
||||
<%# unless static_project_score(@project.project_score) == 0 %>
|
||||
<%= link_to(format("%.2f" ,static_project_score(@project.project_score)).to_i,
|
||||
{:controller => 'projects',
|
||||
:action => 'show_projects_score',
|
||||
:remote => true,
|
||||
:id => @project.id}, :class => "sy_cblue" ) %>
|
||||
<% end %>
|
||||
<%# end %>
|
||||
<% end %>
|
||||
</span>
|
||||
<span class=" mr15">浏览:<a class="sy_corange"><%= @project.visits.to_i %></a></span>
|
||||
|
|
Loading…
Reference in New Issue