Project

General

Profile

« Previous | Next » 

Revision 3e7700b6

Added by Greg Sutcliffe over 10 years ago

Fixes #1848 - Link non-zero report summaries to the equivalent report search

View differences:

app/views/host_mailer/_active_hosts.html.erb
<% else -%>
<td style="border:1px solid #FF9933;border-collapse:collapse;padding:4px;background-color:#FFFFFF;">
<% end -%>
<%= v %>
<% if v > 0 -%>
<%= link_to v, reports_path(:search=>"#{host} and #{m} > 0", :host => @url, :only_path => false) %>
<% else -%>
<%= v %>
<% end -%>
</td>
<% end -%>
</tr>

Also available in: Unified diff