<% if @memberships.empty? %> <% if @user != User.current %>

<%= l(:label_project_course_un) %>

<% else %>

<%= l(:label_project_course_unadd) %><%= link_to"#{l(:label_course_new)}",{:controller=>'projects',:action=>'new', :course => 1}, :class => 'icon icon-add' %>

<% end %> <% else %>

<%= link_to"#{l(:label_course_new)}",{:controller=>'projects',:action=>'new', :course => 1, :project_type => 1}, :class => 'icon icon-add' %>

<%= render :partial => 'course_form' %> <% end %>