修改了竞赛项目提交不一致问题
This commit is contained in:
parent
fcc2dd7952
commit
e3898ee39d
|
@ -87,7 +87,7 @@
|
|||
<tr align="center" width="80px">
|
||||
<td class="font_index"><%=link_to "#{@bid.join_in_contests.count}",:controller => "bids",
|
||||
:action => "show_participator" %></td>
|
||||
<td class="font_index"><%=link_to "#{@bid.projects.count}", :controller => 'bids',
|
||||
<td class="font_index"><%=link_to "#{@bid.projects.where('is_public=1').count}", :controller => 'bids',
|
||||
:action => 'show_project' %></td>
|
||||
<tr class="font_aram">
|
||||
<td align="center" width="70px"> <%= l(:label_participator) %></td>
|
||||
|
@ -192,7 +192,7 @@
|
|||
<p class="font_lighter"><%= l(:label_no_bid_project) %></p>
|
||||
|
||||
<%else%>
|
||||
<% for project in objCut12(@bid.projects)%>
|
||||
<% for project in objCut12(@bid.projects.where('is_public=1')) %>
|
||||
<%= link_to image_tag(url_to_avatar(project), :class => "avatar", :title => project.name), project_path(project), :class => "avatar" %>
|
||||
<% end%>
|
||||
<% end %>
|
||||
|
|
Loading…
Reference in New Issue