|
<table class="list">
|
|
<tr>
|
|
<th>Description</th>
|
|
<th>Data</th>
|
|
</tr>
|
|
<% report_summary.each do |name, value| -%>
|
|
<tr class="<%= cycle("even", "odd") -%>">
|
|
<td style="width: 240px;"> <%= name %> </td>
|
|
<% style = (name =~ /failed|failed_restart/ and value > 0) ? "color:red;font-weight:bold" : ""-%>
|
|
<td style="<%= style %>"> <%= value %> </td>
|
|
</tr>
|
|
<% end -%>
|
|
</table>
|