|
<%= display_issue(issue) %>
<%= hour_budget_error(issue) %>
|
<%= l_hours(issue.total_spent_hours) if @show_time %>
|
<%= hours_to_money(issue.total_spent_hours) if @show_money %>
|
From <%= issue.start_date %> to <%= issue.due_date %>.
<%= 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 -%>