Business intelligence made simple
Improved code [skip ci]
Andrew Kane1348ac9c4c37
diff --git a/app/views/blazer/checks/index.html.erb b/app/views/blazer/checks/index.html.erbindex 4bb338b9..c43f791e 100644--- a/app/views/blazer/checks/index.html.erb+++ b/app/views/blazer/checks/index.html.erb@@ -39,7 +39,7 @@<td><%= link_to check.query.name, check.query %> <span class="text-muted"><%= check.try(:check_type).to_s.gsub("_", " ") %></span></td><td><% if check.state %>- <%= tag.small check.state.upcase, class: "check-state #{check.state.parameterize.gsub("-", "_")}" %>+ <%= tag.small check.state.upcase, class: ["check-state", check.state.parameterize.gsub("-", "_")] %><% end %></td><td><%= check.schedule if check.respond_to?(:schedule) %></td>