show_new_subproject_button.patch

Joachim Fritschi, 2010-05-21 16:41

Download (556 Bytes)

View differences:

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">