<% unless @memberships.empty? %> <% else %> <% if @user != User.current %> <%= l(:label_project_un) %> <% else %><%= l(:label_project_unadd) %><%= link_to"新建",:controller=>'projects',:action=>'new'%> <% end %> <% end %> <%= call_hook :view_account_left_bottom, :user => @user %>