1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-23 21:35:29 +03:00
lvm2/report-generators/templates/index.rhtml
2010-07-20 14:38:44 +00:00

18 lines
443 B
Plaintext

<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>