+
+ <%= 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" %>
+
+ |
+
+
+
+
+ <%# 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) %>
+ <%= ":" unless memberships.empty? %>
+ <% for member in memberships %>
+ <%= link_to_project(member.project) %>
+ <%= (user.memberships.last == member) ? '' : ',' %>
+ <% end %>
+ <%# end %>
+
+
+ <%# unless user.memberships.empty? %>
+ <% user_courses = user_courses_list(user) %>
+ <%= l(:label_x_course_contribute_to, :count => user_courses.count) %>
+ <%= ":" unless user_courses.empty? %>
+ <% for course in user_courses %>
+ <%# if course.name != nil %>
+ <%= link_to course.name,{:controller => 'courses',:action => 'show',id:course.id, host: Setting.course_domain} %><%= (user_courses.last == course) ? '' : ',' %>
+ <%# end %>
+ <% end %>
+ <%# end %>
+
+ |
+
+
+
+
+
+ <%= l(:label_user_joinin) %>
+ <%= format_date(user.created_on) %>
+ |
+
+
+ |
+
+