Project

General

Profile

RE: Projects Tree View Plugin - Version 0.0.1 ยป show_new_subproject_button.patch

Joachim Fritschi, 2010-05-21 16:41

View differences:

app/views/projects/show.rhtml
<div class="contextual">
<% if User.current.allowed_to?(:add_subprojects, @project) %>
<%= link_to l(:label_subproject_new), {:controller => 'projects', :action => 'add', :parent_id => @project}, :class => 'icon icon-add' %>
<% end %>
</div>
<h2><%=l(:label_overview)%></h2>
<div class="splitcontentleft">
    (1-1/1)