<%= link_to(l(:label_project_new), {:controller => 'projects', :action => 'new', :course => 0, :project_type => @project_type}, :class => 'icon icon-add') if User.current.allowed_to?(:add_project, nil, :global => true) %>
<% end %><%= link_to image_tag(url_to_avatar(membership.project), :class => 'avatar'), project_path(membership.project) %> |
|
<%= 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 %>