diff --git a/app/views/projects/_member_list.html.erb b/app/views/projects/_member_list.html.erb index 9143ae971..e29dde733 100644 --- a/app/views/projects/_member_list.html.erb +++ b/app/views/projects/_member_list.html.erb @@ -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%> + + <% unless member.user.user_extensions.identity ==0 %> + + <%= content_tag "p", "#{l(:label_bidding_user_studentcode)}#{' : '}#{member.user.user_extensions.student_id}", :class => "nomargin avatar_name" %> + <% end %> <% if @project.project_type == 1 %>