修改了课程学号显示
This commit is contained in:
parent
1a42cdd013
commit
ec9e989361
|
@ -7,7 +7,11 @@
|
||||||
<% end %>
|
<% end %>
|
||||||
<%= member.user.nil? ? '' : (image_tag(url_to_avatar(member.user), :class => 'avatar')) %>
|
<%= 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" %>
|
<%= 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 %>
|
<% if @project.project_type == 1 %>
|
||||||
<div class ="clear avatar_name">
|
<div class ="clear avatar_name">
|
||||||
<p>
|
<p>
|
||||||
|
|
Loading…
Reference in New Issue