simplified_subtasks_view.patch

Anonymous, 2010-02-10 19:51

Download (752 Bytes)

View differences:

app/views/issues/_subissues_list.rhtml 2010-02-10 17:05:36.000000000 +0100
1
<% if @issue.root.self_and_descendants.size > 1 %>
1
<% @hierarchy = @issue.ancestors + @issue.self_and_descendants %>
2
<% if @hierarchy.size > 1 %>
2 3
  <% content_for :header_tags do %>
3 4
    <%= javascript_include_tag 'context_menu' %>
4 5
    <%= stylesheet_link_tag 'context_menu' %>
......
8 9
  <div id="subissues">
9 10
		<%= render( :partial => 'issues/list',
10 11
								:locals => {
11
									:issues 				 => @issue.root.self_and_descendants,
12
									:issues 				 => @hierarchy,
12 13
									:emphasis_issues => [ @issue ],
13 14
									:query  				 => @query }) %>
14 15
  </div>