<%= image_tag(url_to_avatar(user), :class => "avatar") %> |
<%= content_tag "div", link_to_user(user), :class =>"project_avatar_name" %>
|
<% unless user.memberships.empty? %>
<%= l(:label_contribute_to, :project_count => "#{user.memberships.count}") %>
<% for member in user.memberships %>
<%= link_to_project(member.project) %><%= (user.memberships.last == member) ? '' : ',' %>
<% end %>
<% end %>
|
<%= l(:label_user_joinin) %><%= format_date(user.created_on) %>
|
|