|
|
|
@ -55,7 +55,7 @@
|
|
|
|
|
<div class="inf_user_image">
|
|
|
|
|
<table>
|
|
|
|
|
<tr>
|
|
|
|
|
<td align="left" valign="middle">
|
|
|
|
|
<td align="left" width="100px">
|
|
|
|
|
<%= image_tag(url_to_avatar(@user), :class => "avatar2") %>
|
|
|
|
|
</td>
|
|
|
|
|
<td>
|
|
|
|
@ -63,50 +63,40 @@
|
|
|
|
|
<tr>
|
|
|
|
|
<td class="info_font" style=" word-wrap: break-word; word-break: break-all"><%= h @bid.name %></td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td rowspan="2" width="250px">
|
|
|
|
|
<tr colspan='3'>
|
|
|
|
|
<td valign="middle">
|
|
|
|
|
<%= join_in_contest(@bid, User.current)%>
|
|
|
|
|
<%= watcher_link(@bid, User.current) %> <!-- <%= link_to("选为作业", fork_path(@bid)) %> --></td>
|
|
|
|
|
</tr>
|
|
|
|
|
</table></td>
|
|
|
|
|
</tr>
|
|
|
|
|
</table>
|
|
|
|
|
</tr>
|
|
|
|
|
</table>
|
|
|
|
|
<!-- added by bai 增加了竞赛的配置 -->
|
|
|
|
|
<table>
|
|
|
|
|
<tr><td style="padding-left: 130px">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<%if User.current.logged? %>
|
|
|
|
|
<% if @bid.author.id == User.current.id %>
|
|
|
|
|
<%= link_to l(:label_contest_modify_settings), {:controller => 'bids', :action => 'settings', :id => @bid} %>
|
|
|
|
|
<% end %>
|
|
|
|
|
<% end %>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
</td>
|
|
|
|
|
</table>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<!--parameter -->
|
|
|
|
|
<div class="user_fans">
|
|
|
|
|
|
|
|
|
|
<!-- added by bai 增加参与人和参与项目的数量显示 -->
|
|
|
|
|
<div class="user_fans">
|
|
|
|
|
<table width="240" border="0">
|
|
|
|
|
<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', :action => 'show_project' %></td>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<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',
|
|
|
|
|
:action => 'show_project' %></td>
|
|
|
|
|
<tr class="font_aram">
|
|
|
|
|
<td align="center" width="70px"> <%= l(:label_participator) %></td>
|
|
|
|
|
|
|
|
|
|
<td align="center" width="70px"> <%= l(:label_bidding_project) %></td>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<td align="center" width="70px"> <%= l(:label_participator) %></td>
|
|
|
|
|
<td align="center" width="70px"> <%= l(:label_bidding_project) %></td>
|
|
|
|
|
</tr>
|
|
|
|
|
</table>
|
|
|
|
|
<div class="user_underline"></div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<!-- end -->
|
|
|
|
|
|
|
|
|
|
<div class="inf_user_image">
|
|
|
|
|
<table>
|
|
|
|
|