<% for membership in @memberships %>
-
<%= image_tag(url_to_avatar(membership.project), :class => 'avatar') %> |
<%= link_to_user(membership.user) if membership.respond_to?(:user) %>
<%= l(:label_peoject_take_in) %> <%= link_to_project(membership.project) %> |
<%= membership.project.short_description%>
|
<%= l(:label_create_time) %> : <%= 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) %>
<% end %>
<% end %>
<%= call_hook :view_account_left_bottom, :user => @user %>
<% html_title(l(:label_user_project)) -%>