<%= link_to "关注的项目" , {:controller => 'users', :action => 'watch_projects', :id => @user.id}%> <% unless @memberships.empty? %> <% if @user == User.current %> <%= 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 %> <% 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 %>