This commit is contained in:
yanxd 2014-05-23 11:38:30 +08:00
parent 213939b474
commit 4eebd48f92
2 changed files with 3 additions and 5 deletions

View File

@ -176,7 +176,7 @@
<tr> <tr>
<td><%= l(:label_bidding_user_homework) %> : <td><%= l(:label_bidding_user_homework) %> :
<% unless b_project.user.nil? %> <% unless b_project.user.nil? %>
<%= link_to(b_project.user.lastname+b_project.user.firstname, user_path(b_project.user)) %> <%= link_to(b_project.user.name, user_path(b_project.user)) %>
<% end %> <% end %>
</td> </td>
</tr> </tr>
@ -194,7 +194,7 @@
<%= l(:label_bidding_user) %> <%= l(:label_bidding_user) %>
<% end %> <% end %>
<% unless b_project.user.nil? %> <% unless b_project.user.nil? %>
<%= b_project.user.lastname %><%= b_project.user.firstname %> <%= b_project.user.name %>
<% end %></strong> <% end %></strong>
<!-- added by bai 加入学号 --> <!-- added by bai 加入学号 -->
<p><strong> <p><strong>

View File

@ -72,11 +72,9 @@
<% else %> <% else %>
<%= content_tag('span', "#{l(:default_role_manager)}: ") %> <%= content_tag('span', "#{l(:default_role_manager)}: ") %>
<% end %> <% end %>
<!-- end -->
<!-- <%= content_tag('span', "#{l(:default_role_manager)}: ") %> -->
<% @admin = @project.project_infos%> <% @admin = @project.project_infos%>
<% if @admin.size > 0 %> <% if @admin.size > 0 %>
<%= content_tag('a', @admin.collect{|u| link_to(u.user.lastname+u.user.firstname, user_path(u.user_id))}.join(", ").html_safe) %> <%= content_tag('a', @admin.collect{|u| link_to(u.user.name, user_path(u.user_id))}.join(", ").html_safe) %>
<% end %> <% end %>
<% if(@project.project_type==1)%> <% if(@project.project_type==1)%>
&nbsp;&nbsp;&nbsp;<%= l(:label_course_college) %> &nbsp;&nbsp;&nbsp;<%= l(:label_course_college) %>