Project

General

Profile

« Previous | Next » 

Revision 92980985

Added by Brian Gupta about 12 years ago

  • ID 9298098551e0ea50b5eb94e2b7dbd99b973da253

Fixed link for Good hosts on dashboard to match stats query

View differences:

app/views/dashboard/index.html.erb
<td><%= @report[:bad_hosts] %> </td>
</tr>
<tr>
<td><%=searchable_links "Good Host Reports in the last #{Setting[:puppet_interval]} minutes", "last_report > \"#{Setting[:puppet_interval]} minutes ago\" and status.enabled = true and status.interesting=false" %></td>
<td><%=searchable_links "Good Host Reports in the last #{Setting[:puppet_interval]+5} minutes", "last_report > \"#{Setting[:puppet_interval]+5} minutes ago\" and (status.enabled = true or status.applied =true) and status.failed = 0" %></td>
<td> <%= "#{@report[:good_hosts]} / #{@report[:total_hosts]}" %> hosts (<%= @report[:percentage] %>%)</td>
</tr>
<tr>

Also available in: Unified diff