summaryrefslogtreecommitdiff
path: root/app/views/node_actions/_change_details.html.erb
diff options
context:
space:
mode:
authorerdgeist <erdgeist@erdgeist.org>2026-07-23 19:46:29 +0200
committererdgeist <erdgeist@erdgeist.org>2026-07-23 19:46:29 +0200
commitcef5d1a685f324a4779ea6d18da0b0bbf6cfb7b1 (patch)
treee481cc324c757d18773d21ed3174dc90f14e16a4 /app/views/node_actions/_change_details.html.erb
parentaedf5778aba87c4e8d036dde2a0b6ec79cf8b342 (diff)
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.
Diffstat (limited to 'app/views/node_actions/_change_details.html.erb')
-rw-r--r--app/views/node_actions/_change_details.html.erb2
1 files changed, 2 insertions, 0 deletions
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 @@
6 <th><%= I18n.default_locale.to_s.upcase %></th> 6 <th><%= I18n.default_locale.to_s.upcase %></th>
7 <td> 7 <td>
8 <%= safe_join(default_items, tag.br) %> 8 <%= safe_join(default_items, tag.br) %>
9 <br/>
9 <% if action_entry.page && action_entry.node %> 10 <% if action_entry.page && action_entry.node %>
10 <% if (diff_params = action_entry.diff_link_params) %> 11 <% if (diff_params = action_entry.diff_link_params) %>
11 <%= link_to t("node_actions.view_diff"), diff_node_revisions_path(action_entry.node, diff_params) %> 12 <%= link_to t("node_actions.view_diff"), diff_node_revisions_path(action_entry.node, diff_params) %>
@@ -21,6 +22,7 @@
21 <th><%= locale.upcase %></th> 22 <th><%= locale.upcase %></th>
22 <td> 23 <td>
23 <%= safe_join(translation_changes(diff), tag.br) %> 24 <%= safe_join(translation_changes(diff), tag.br) %>
25 <br/>
24 <% if action_entry.page && action_entry.node %> 26 <% if action_entry.page && action_entry.node %>
25 <% if (diff_params = action_entry.diff_link_params) %> 27 <% if (diff_params = action_entry.diff_link_params) %>
26 <%= link_to t("node_actions.view_diff"), diff_node_revisions_path(action_entry.node, diff_params.merge(:locale => locale)) %> 28 <%= link_to t("node_actions.view_diff"), diff_node_revisions_path(action_entry.node, diff_params.merge(:locale => locale)) %>