summaryrefslogtreecommitdiffstats
path: root/report-generators/templates/index.rhtml
blob: 6d72081fb0220d44ed709d31a14a104cfcd287a7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<table width="95%" cellspacing="2" cellpadding="5" border="0" class="stripes">
<tr><th>Report</th><th>Generation time</th></tr>
<% [:unit_test, :memcheck].each do |sym| %>
<% r = reports.get_report(sym) %>
<tr>
  <td>
    <% if r.path.file? %>
    <a href="<%= r.path.to_s.gsub(/^reports\//, '') %>"><%= r.short_desc %></a>
    <% else %>
    <%= r.short_desc %>
    <% end %>
  </td>
  <td><%= safe_mtime(r) %></td>
</tr>
<% end %>
</table>