Project

General

Profile

« Previous | Next » 

Revision e8d6d2d6

Added by Shlomi Zadok over 8 years ago

fixes #4151 - enable reports STI

Permits subclassing of ReportImporter and Report to import and store
new types of reports associated to hosts.

View differences:

app/views/dashboard/_reports_widget.html.erb
<tbody>
<% events.each do |report| %>
<tr>
<td><%= link_to trunc_with_tooltip(report.host, 14), host_reports_path(report.host) %></td>
<td><%= link_to trunc_with_tooltip(report.host, 14), host_config_reports_path(report.host) %></td>
<td><%= report_event_column(report.applied, "label-info") %></td>
<td><%= report_event_column(report.restarted, "label-info") %></td>
<td><%= report_event_column(report.failed, "label-danger") %></td>

Also available in: Unified diff