summaryrefslogtreecommitdiff
path: root/app/views/version_reports/show.html.erb
blob: e8c4f70c67bd3f4ef686978a0fece51191a79db9 (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
<% html_title @version.name %>

<%= report_header(@version) %>

<h1><%= @version.description %></h1>
<p><%= report_summary(@version) %></p>

<table>
<% if @show_time || @show_money %>
  <tr>
    <td><b>Total</b></td>
    <td>
      <%= total_time(@version, @issues) %>
    </td>
    <td>
      <%= total_money(@version, @issues) if @show_money %>
    </td>
  </tr>
<% end %>
<% if @issues.present? %>
  <%- @issues.each do |issue| -%>
    <%= render :partial => 'main_issue_row', :locals => {:issue => issue} %>
  <% end %>
<% end %>
</table>