@@ -1,6 +1,6 | |||||
1 | <div class="contextual"> |
|
1 | <div class="contextual"> | |
2 | <% if User.current.allowed_to?(:add_subprojects, @project) %> |
|
2 | <% if User.current.allowed_to?(:add_subprojects, @project) %> | |
3 |
<%= link_to l(:label_subproject_new), {:controller => 'projects', :action => ' |
|
3 | <%= link_to l(:label_subproject_new), {:controller => 'projects', :action => 'new', :parent_id => @project}, :class => 'icon icon-add' %> | |
4 | <% end %> |
|
4 | <% end %> | |
5 | </div> |
|
5 | </div> | |
6 |
|
6 |
General Comments 0
You need to be logged in to leave comments.
Login now