修改了课程学号显示

This commit is contained in:
huangjingquan 2013-11-20 09:30:30 +08:00
parent 1a42cdd013
commit ec9e989361
1 changed files with 5 additions and 1 deletions

View File

@ -7,7 +7,11 @@
<% end %>
<%= member.user.nil? ? '' : (image_tag(url_to_avatar(member.user), :class => 'avatar')) %>
<%= content_tag "div", link_to(member.user.show_name, user_path(member.user)), :class => "nomargin avatar_name" %>
<%= l(:label_bidding_user_studentcode) %> <%= member.user.user_extensions.student_id%> <!-- added by bai 加学号 -->
<!--teacher's code disapeared moified by huang-->
<% unless member.user.user_extensions.identity ==0 %>
<!-- added by bai 加学号 -->
<%= content_tag "p", "#{l(:label_bidding_user_studentcode)}#{' : '}#{member.user.user_extensions.student_id}", :class => "nomargin avatar_name" %>
<% end %>
<% if @project.project_type == 1 %>
<div class ="clear avatar_name"> &nbsp;
<p>