%= link_to(l(:label_project_new), {:controller => 'projects', :action => 'new', :course => 0, :project_type => 0}, :class => 'icon icon-add') if(User.current.allowed_to?(:add_project, nil, :global => true) && @user == User.current)%> <%= watch_projects @state %> <% unless @memberships.empty? %>
<%= image_tag(url_to_avatar(membership.project), :class => 'avatar') %> |
|
<%= l(:label_project_un) %>
<% else %><%= l(:label_project_unadd) %>
<% end %> <% end %> <%= call_hook :view_account_left_bottom, :user => @user %>