From cef5d1a685f324a4779ea6d18da0b0bbf6cfb7b1 Mon Sep 17 00:00:00 2001 From: erdgeist Date: Thu, 23 Jul 2026 19:46:29 +0200 Subject: Zoom the action log on assets Asset names in summaries and publish deltas link to assets#show with an inline Chronik beside each, suppressed inside that asset's own zoom, per the node convention. assets#show gains a history button. Also renames the details summary (no longer only translations) and moves View Diff onto its own line. --- app/views/node_actions/_change_details.html.erb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'app/views/node_actions') diff --git a/app/views/node_actions/_change_details.html.erb b/app/views/node_actions/_change_details.html.erb index 066d0f30..19e2fe29 100644 --- a/app/views/node_actions/_change_details.html.erb +++ b/app/views/node_actions/_change_details.html.erb @@ -6,6 +6,7 @@ <%= I18n.default_locale.to_s.upcase %> <%= safe_join(default_items, tag.br) %> +
<% if action_entry.page && action_entry.node %> <% if (diff_params = action_entry.diff_link_params) %> <%= link_to t("node_actions.view_diff"), diff_node_revisions_path(action_entry.node, diff_params) %> @@ -21,6 +22,7 @@ <%= locale.upcase %> <%= safe_join(translation_changes(diff), tag.br) %> +
<% if action_entry.page && action_entry.node %> <% if (diff_params = action_entry.diff_link_params) %> <%= link_to t("node_actions.view_diff"), diff_node_revisions_path(action_entry.node, diff_params.merge(:locale => locale)) %> -- cgit v1.3