<%= link_to image_tag(url_to_avatar(user), :class => "avatar"), user_path(user), :title => "#{user.name}" %>
|
<%= content_tag "div", link_to(user.name, user_path(user)), :class => "project_avatar_name" , :title => "#{user.name}" %>
<% if (im_watching_student_id? @bid) && user.user_extensions.identity.to_i.eql?(1) %>
<%= l(:label_bidding_user_studentcode) %> :<%= user.user_extensions.student_id%>
<% end %>
|
<% unless user.memberships.empty? %>
<% cond = Project.visible_condition(User.current) + "AND projects.project_type <> 1" %>
<% memberships = user.memberships.all(:conditions => cond) %>
<%= l(:label_x_contribute_to, :count => memberships.count) %>
<%
links = Array.new
memberships.collect{|member| links << link_to_project(member.project) }
%>
<%= raw links.join(" , ") %>
<% end %>
|
<%= l(:label_user_joinin) %><%= format_date(user.created_on) %>
|
|