From da5bb5788802c725f9f14b72e6a54c6c38ea5e0a Mon Sep 17 00:00:00 2001 From: erdgeist Date: Fri, 17 Jul 2026 17:52:08 +0200 Subject: Retire recent changes widget, replace with action log --- app/views/admin/index.html.erb | 24 +----------------------- 1 file changed, 1 insertion(+), 23 deletions(-) (limited to 'app/views/admin') diff --git a/app/views/admin/index.html.erb b/app/views/admin/index.html.erb index 1b4a0a0..7933cba 100644 --- a/app/views/admin/index.html.erb +++ b/app/views/admin/index.html.erb @@ -40,32 +40,10 @@ <%= link_to "See all drafts →", drafts_nodes_path %> - -

Recent changes

- <% @actions.each do |action| %> - - - - - <% end %> + <%= render partial: "node_actions/action_row", collection: @actions, as: :action %>
<%= raw(action.occurred_at.strftime("%Y-%m-%d %H:%M").gsub(" ", "
")) %>
- <%= action_summary(action) %> - <% if action.node_id && params[:node_id].blank? %> - <%= link_to t("node_actions.node_history"), admin_log_path(:node_id => action.node_id), :class => "node_action_zoom" %> - <% end %> - <% if action.inferred_from %> - <%= t("node_actions.backfilled") %> - <% end %> - <%= render "node_actions/change_details", :action_entry => action if action_details?(action) %> -
<%= link_to "See all recent changes →", admin_log_path %>
-- cgit v1.3