Project

General

Profile

« Previous | Next » 

Revision 1c039da8

Added by Ohad Levy almost 13 years ago

  • ID 1c039da84cbbad8b07cd9b1f6e9f15bc7720e3bf

fixes #930 - Skipped resources should not put systems in 'error' state

View differences:

app/views/hosts/_metrics.html.erb
<% report_summary.each do |name, value| -%>
<tr class="<%= cycle("even", "odd") -%>">
<td style="width: 240px;"> <%= name %> </td>
<% style = (name =~ /failed|skipped|failed_restart/ and value > 0) ? "color:red;font-weight:bold" : ""-%>
<% style = (name =~ /failed|failed_restart/ and value > 0) ? "color:red;font-weight:bold" : ""-%>
<td style="<%= style %>"> <%= value %> </td>
</tr>
<% end -%>

Also available in: Unified diff