<% unless @memberships.empty? %>
<% for membership in @memberships %>
-
<%= link_to image_tag(url_to_avatar(membership.project), :class => 'avatar'), project_path(membership.project) %> |
<%= link_to_project(membership.project) %>
<%= l(:label_homework) %> (8)
<%= l(:label_course_news)%> (8)
<%= l(:label_member)%>(<%=link_to (membership.project.members.count)%>)
|
<%= membership.project.description%>
|
<%= format_time(membership.created_on) %> |
<%= h membership.roles.sort.collect(&:to_s).join(', ') %> |
|
<% end %>
<% else %>
<% if @user != User.current %>
<%= l(:label_project_un) %>
<% else %>
<%= l(:label_project_unadd) %><%= link_to"#{l(:label_new)}",:controller=>'projects',:action=>'new'%>
<% end %>
<% end %>
<%= call_hook :view_account_left_bottom, :user => @user %>