summaryrefslogtreecommitdiff
path: root/app/views
diff options
context:
space:
mode:
Diffstat (limited to 'app/views')
-rw-r--r--app/views/assets/show.html.erb3
-rw-r--r--app/views/node_actions/_change_details.html.erb2
2 files changed, 5 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
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)) %>