|
|
|
@ -98,19 +98,25 @@
|
|
|
|
|
<tr align="center" width="80px">
|
|
|
|
|
<!-- <td class="font_index">
|
|
|
|
|
<%=link_to "#{@contest.join_in_competitions.count}",:controller => "contests",:action => "show_participator" %>
|
|
|
|
|
</td> -->
|
|
|
|
|
</td> -->
|
|
|
|
|
<!--关注人数-->
|
|
|
|
|
<td class="font_index">
|
|
|
|
|
<%=link_to "#{@contest.projects.where('is_public=1').count}", :controller => 'contests', :action => 'show_project' %>
|
|
|
|
|
</td>
|
|
|
|
|
<td class="font_index">
|
|
|
|
|
<%=link_to "#{@contest.contesting_softapplications.count}", :controller => 'contests', :action => 'show_softapplication' %>
|
|
|
|
|
</td>
|
|
|
|
|
<!--参赛作品数量-->
|
|
|
|
|
<td class="font_index">
|
|
|
|
|
<% if @contest.id == 2 or @contest.id == 3 or @contest.id == 6 %>
|
|
|
|
|
<%=link_to "#{@contest.projects.where('is_public=1').count}", :controller => 'contests', :action => 'show_attendingcontest' %>
|
|
|
|
|
<% else %>
|
|
|
|
|
<%=link_to "#{@contest.contesting_softapplications.count}", :controller => 'contests', :action => 'show_attendingcontest' %>
|
|
|
|
|
<% end %>
|
|
|
|
|
</td>
|
|
|
|
|
|
|
|
|
|
</tr>
|
|
|
|
|
<tr class="font_aram">
|
|
|
|
|
<!-- <td align="center" width="70px"> <%= l(:label_participate) %></td> -->
|
|
|
|
|
<td align="center" width="70px"> <%= l(:label_contest_project) %></td>
|
|
|
|
|
<td align="center" width="70px"> <%= l(:label_contest_application) %></td>
|
|
|
|
|
<td align="center" width="70px"> <%= l(:label_contest_watchers) %></td>
|
|
|
|
|
<td align="center" width="70px"> <%= l(:label_contest_work) %></td>
|
|
|
|
|
|
|
|
|
|
</tr>
|
|
|
|
|
</table>
|
|
|
|
|