|
<%= display_issue(issue) %>
<%= hour_budget_error(issue) %>
|
<%= issue_time(issue) %>
|
<%= issue_money(issue, :format) %>
|
<%- if @show_dates -%>
From <%= issue.start_date %> to <%= issue.due_date %>.
<%- end -%>
<%= textilizable issue, :description %>
|
<%- project = nil -%>
<%- if issue.children.any? -%>
<%- issue.children.sort{|a,b| a.project.name <=> b.project.name}.each do |child| -%>
<%- if child.project.name != project -%>
<%- project = child.project.name -%>
<%= render :partial => 'project_row', :locals => {:project => child.project} %>
<%- end -%>
<%= render :partial => 'issue_row', :locals => {:issue => child, :indent => 1} %>
<%- end -%>
<%- end -%>