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.erb22
1 files changed, 22 insertions, 0 deletions
diff --git a/app/views/node_actions/index.html.erb b/app/views/node_actions/index.html.erb
new file mode 100644
index 0000000..92740cd
--- /dev/null
+++ b/app/views/node_actions/index.html.erb
@@ -0,0 +1,22 @@
1<h1><%= t("node_actions.heading") %></h1>
2
3<% if params[:node_id].present? || params[:user_id].present? %>
4 <p><%= link_to t("node_actions.show_all"), admin_log_path %></p>
5<% end %>
6
7<%= will_paginate @actions %>
8
9<ul id="node_action_list">
10 <% @actions.each do |action| %>
11 <li class="node_action node_action--<%= action.action %>">
12 <span class="node_action_time"><%= l(action.occurred_at, :format => :ccc) %></span>
13 <% if action.inferred_from %>
14 <span class="node_action_inferred" title="<%= action.inferred_from %>"><%= t("node_actions.backfilled") %></span>
15 <% end %>
16 <span class="node_action_summary"><%= action_summary(action) %></span>
17 <%= render "change_details", :action_entry => action if action.metadata["translation_diff"].present? %>
18 </li>
19 <% end %>
20</ul>
21
22<%= will_paginate @actions %>