diff options
Diffstat (limited to 'app/views/node_actions')
| -rw-r--r-- | app/views/node_actions/index.html.erb | 16 |
1 files changed, 1 insertions, 15 deletions
diff --git a/app/views/node_actions/index.html.erb b/app/views/node_actions/index.html.erb index ee06213..20ef5b3 100644 --- a/app/views/node_actions/index.html.erb +++ b/app/views/node_actions/index.html.erb | |||
| @@ -7,21 +7,7 @@ | |||
| 7 | <%= will_paginate @actions %> | 7 | <%= will_paginate @actions %> |
| 8 | 8 | ||
| 9 | <table id="node_action_list"> | 9 | <table id="node_action_list"> |
| 10 | <% @actions.each do |action| %> | 10 | <%= render partial: "node_actions/action_row", collection: @actions, as: :action %> |
| 11 | <tr class="node_action node_action--<%= action.action %>"> | ||
| 12 | <td class="node_action_time"><%= action.occurred_at.strftime("%Y-%m-%d %H:%M") %></td> | ||
| 13 | <td class="node_action_body"> | ||
| 14 | <%= action_summary(action) %> | ||
| 15 | <% if action.node_id && params[:node_id].blank? %> | ||
| 16 | <%= link_to t("node_actions.node_history"), admin_log_path(:node_id => action.node_id), :class => "node_action_zoom" %> | ||
| 17 | <% end %> | ||
| 18 | <% if action.inferred_from %> | ||
| 19 | <span class="node_action_inferred" title="<%= action.inferred_from %>"><%= t("node_actions.backfilled") %></span> | ||
| 20 | <% end %> | ||
| 21 | <%= render "change_details", :action_entry => action if action_details?(action) %> | ||
| 22 | </td> | ||
| 23 | </tr> | ||
| 24 | <% end %> | ||
| 25 | </table> | 11 | </table> |
| 26 | 12 | ||
| 27 | <%= will_paginate @actions %> | 13 | <%= will_paginate @actions %> |
