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/assets/show.html.erb | 3 +++ 1 file changed, 3 insertions(+) (limited to 'app/views/assets/show.html.erb') diff --git a/app/views/assets/show.html.erb b/app/views/assets/show.html.erb index 27238211..122b44e4 100644 --- a/app/views/assets/show.html.erb +++ b/app/views/assets/show.html.erb @@ -13,6 +13,9 @@
<%= link_to 'Back', assets_path %>
+ <%= link_to admin_log_path(:asset_id => @asset.id), :class => "action_button" do %> + <%= icon("history", library: "tabler", "aria-hidden": true) %> <%= t("node_actions.asset_history") %> + <% end %> -- cgit v1.3