diff --git a/app/views/users/_my_course.html.erb b/app/views/users/_my_course.html.erb index 952dcd0ad..b93afd41f 100644 --- a/app/views/users/_my_course.html.erb +++ b/app/views/users/_my_course.html.erb @@ -13,7 +13,7 @@ <% else %>

<%=l(:label_course_doing)%>(<%=@memberships_doing.count%>) - <%= link_to"#{l(:label_course_new)}",{:controller=>'projects',:action=>'new', :course => 1, :project_type => 1}, :class => 'icon icon-add' %> + <%= link_to"#{l(:label_course_new)}",{:controller=>'projects',:action=>'new', :course => 1, :project_type => 1}, :class => 'icon icon-add' if @user == User.current %>

<%= render :partial => 'course_form', :locals => {:memberships => @memberships_doing}%>