summaryrefslogtreecommitdiff
path: root/app/views/node_actions/index.html.erb
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/node_actions/index.html.erb')
-rw-r--r--app/views/node_actions/index.html.erb25
1 files changed, 15 insertions, 10 deletions
diff --git a/app/views/node_actions/index.html.erb b/app/views/node_actions/index.html.erb
index 92740cdf..ee062132 100644
--- a/app/views/node_actions/index.html.erb
+++ b/app/views/node_actions/index.html.erb
@@ -6,17 +6,22 @@
6 6
7<%= will_paginate @actions %> 7<%= will_paginate @actions %>
8 8
9<ul id="node_action_list"> 9<table id="node_action_list">
10 <% @actions.each do |action| %> 10 <% @actions.each do |action| %>
11 <li class="node_action node_action--<%= action.action %>"> 11 <tr class="node_action node_action--<%= action.action %>">
12 <span class="node_action_time"><%= l(action.occurred_at, :format => :ccc) %></span> 12 <td class="node_action_time"><%= action.occurred_at.strftime("%Y-%m-%d %H:%M") %></td>
13 <% if action.inferred_from %> 13 <td class="node_action_body">
14 <span class="node_action_inferred" title="<%= action.inferred_from %>"><%= t("node_actions.backfilled") %></span> 14 <%= action_summary(action) %>
15 <% end %> 15 <% if action.node_id && params[:node_id].blank? %>
16 <span class="node_action_summary"><%= action_summary(action) %></span> 16 <%= link_to t("node_actions.node_history"), admin_log_path(:node_id => action.node_id), :class => "node_action_zoom" %>
17 <%= render "change_details", :action_entry => action if action.metadata["translation_diff"].present? %> 17 <% end %>
18 </li> 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>
19 <% end %> 24 <% end %>
20</ul> 25</table>
21 26
22<%= will_paginate @actions %> 27<%= will_paginate @actions %>