Explorar o código

Added check type

Andrew Kane %!s(int64=8) %!d(string=hai) anos
pai
achega
d18d2d6a0e
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      app/views/blazer/checks/index.html.erb

+ 1 - 1
app/views/blazer/checks/index.html.erb

@@ -16,7 +16,7 @@
   <tbody>
     <% @checks.each do |check| %>
       <tr>
-        <td><%= link_to check.query.name, check.query %></td>
+        <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 %>
             <small class="check-state <%= check.state.parameterize("_") %>"><%= check.state.upcase %></small>