summaryrefslogtreecommitdiff
path: root/app/views/assets
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/assets
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/assets')
-rw-r--r--app/views/assets/show.html.erb3
1 files changed, 3 insertions, 0 deletions
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 @@
13 <div class="node_info_item"> 13 <div class="node_info_item">
14 <%= link_to 'Back', assets_path %> 14 <%= link_to 'Back', assets_path %>
15 </div> 15 </div>
16 <%= link_to admin_log_path(:asset_id => @asset.id), :class => "action_button" do %>
17 <%= icon("history", library: "tabler", "aria-hidden": true) %> <%= t("node_actions.asset_history") %>
18 <% end %>
16 </div> 19 </div>
17 </div> 20 </div>
18 21