RE: Projects Tree View Plugin - Version 0.0.1 ยป show_new_subproject_button.patch
app/views/projects/show.rhtml | ||
---|---|---|
1 |
<div class="contextual"> |
|
2 |
<% if User.current.allowed_to?(:add_subprojects, @project) %> |
|
3 |
<%= link_to l(:label_subproject_new), {:controller => 'projects', :action => 'add', :parent_id => @project}, :class => 'icon icon-add' %> |
|
4 |
<% end %> |
|
5 |
</div> |
|
1 | 6 |
<h2><%=l(:label_overview)%></h2> |
2 | 7 |
|
3 | 8 |
<div class="splitcontentleft"> |