blob: c83eb6d095d16c8536237e8e5ba92f794e4bea34 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
<tr><td> </td></tr>
<tr>
<td>
<h1><%= display_issue(issue) %></h1>
<%= hour_budget_error(issue) %>
</td>
<td>
<%= l_hours(issue.total_spent_hours) if @show_time %>
</td>
<td>
<%= hours_to_money(issue.total_spent_hours) if @show_money %>
</td>
</tr>
<tr>
<td colspan="3">
From <%= issue.start_date %> to <%= issue.due_date %>.
<div class="wiki">
<%= textilizable issue, :description %>
</div>
</td>
</tr>
<%- 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 -%>
|