This commit is contained in:
xianbo 2013-11-05 15:59:12 +08:00
parent 82c597a163
commit 88084990bf
1 changed files with 1 additions and 0 deletions

View File

@ -1,3 +1,4 @@
<p>温馨提示:项目可以是一次作业,也可以是别人或者自己创建的一项小工程~</p>
<% 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 %>