竞赛参与者的人数统计
This commit is contained in:
parent
2932f5a940
commit
eb36cb40ce
|
@ -166,11 +166,15 @@
|
|||
</tr>
|
||||
<% else %>
|
||||
<tr>
|
||||
<td><%= l(:label_bidding_user) %>
|
||||
<td><strong><%= l(:label_bidding_user) %>
|
||||
<% unless b_project.user.nil? %>
|
||||
<%= b_project.user.lastname %><%= b_project.user.firstname %>
|
||||
<% end %>
|
||||
<% end %></strong>
|
||||
<!-- added by bai 加入学号 -->
|
||||
<p><strong><%= l(:label_bidding_user_studentcode) %> :<%= b_project.user.user_extensions.student_id%></strong></p>
|
||||
</td>
|
||||
<!-- end -->
|
||||
|
||||
</tr>
|
||||
<tr>
|
||||
<td style=" word-wrap: break-word; word-break: break-all"><%= l(:label_bidding_reason) %><%= b_project.description %></td>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<!--add by bai-->
|
||||
<h3><%= l(:label_x_join_in_contest, :count => @bid.join_in_contests.count)%></h3>
|
||||
<h3><%=link_to l(:label_x_join_in_contest, :count => @bid.join_in_contests.count)+"("+@bid.join_in_contests(@user.id).count.to_s+")", :controller=>"bids", :action=>"show_participator"%></h3>
|
||||
<div class="inf_user_image">
|
||||
<% for temp in @bid.join_in_contests %>
|
||||
<% user = temp.user %>
|
||||
|
|
Loading…
Reference in New Issue