summaryrefslogtreecommitdiff
path: root/app/views/version_reports/_issue_row.html.erb
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/version_reports/_issue_row.html.erb')
-rw-r--r--app/views/version_reports/_issue_row.html.erb14
1 files changed, 14 insertions, 0 deletions
diff --git a/app/views/version_reports/_issue_row.html.erb b/app/views/version_reports/_issue_row.html.erb
new file mode 100644
index 0000000..3ff7020
--- /dev/null
+++ b/app/views/version_reports/_issue_row.html.erb
@@ -0,0 +1,14 @@
+<tr>
+ <td>
+ <%= ("&nbsp;" * 4 * indent).html_safe %>
+ <%= display_issue(issue, :tracker) %>
+ </td>
+ <td>
+ <%= l_hours(issue.total_spent_hours) %>
+ </td>
+</tr>
+<%- if issue.children.any? -%>
+<%- issue.children.each do |child| -%>
+<%= render :partial => 'issue_row', :locals => {:issue => child, :indent => indent+1} %>
+<%- end -%>
+<%- end -%>