修改竞赛子站首页显示

This commit is contained in:
wanglinchun 2014-04-25 16:22:23 +08:00
parent 9f75bf179a
commit c16933120d
1 changed files with 5 additions and 5 deletions

View File

@ -96,9 +96,9 @@
<div class="user_fans">
<table width="240" border="0">
<tr align="center" width="80px">
<td class="font_index">
<!-- <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>
@ -108,7 +108,7 @@
</tr>
<tr class="font_aram">
<td align="center" width="70px"> <%= l(:label_participate) %></td>
<!-- <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>
@ -204,7 +204,7 @@
<div class="user_underline"></div>
<!--参与者-->
<div class="user_fans">
<!-- <div class="user_fans">
<div class="font_title_left">
<strong><%= l(:label_participate) %></strong>
<% if show_more_participate?(@contest) %>
@ -221,7 +221,7 @@
</tr>
</table>
</div>
</div>
</div> -->
<div class="user_underline"></div>
</div>