Project

General

Profile

Bug #726 ยป 0001-HTML-cleanup-in-nonactive-hosts-section-of-email-sum.patch

Frank Sweetser, 03/12/2011 08:29 AM

View differences:

app/views/host_mailer/_nonactive_hosts.text.html.erb
<tr>
<%= render 'link_to_host', :host => host %>
<% if host.last_report -%>
<%= time_ago_in_words(host.last_report) %>
<td style="border: 1px solid #FF9933;
border-collapse: collapse;
padding: 4px;
background-color: #FFFFFF;"><%= time_ago_in_words(host.last_report) %></td>
<% else -%>
<td>Unknown</td>
<td style="border: 1px solid #FF9933;
border-collapse: collapse;
padding: 4px;
background-color: #FFFFFF;">Unknown</td>
<% end -%>
</tr>
<% end -%>
    (1-1/1)