<% unless @memberships.empty? %>
<% for membership in @memberships %>
-
<%= link_to image_tag(url_to_avatar(membership.project), :class => 'avatar'), project_path(membership.project) %> |
<%= link_to_user(membership.user) if membership.respond_to?(:user) %>
<%= l(:label_create_project) %> <%= link_to_project(membership.project) %> |
<%= 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 %>