summaryrefslogtreecommitdiff
path: root/app/views/version_reports/show.html.erb
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/version_reports/show.html.erb')
-rw-r--r--app/views/version_reports/show.html.erb16
1 files changed, 16 insertions, 0 deletions
diff --git a/app/views/version_reports/show.html.erb b/app/views/version_reports/show.html.erb
index 09c2b20..e8c4f70 100644
--- a/app/views/version_reports/show.html.erb
+++ b/app/views/version_reports/show.html.erb
@@ -1,6 +1,22 @@
<% 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} %>