summaryrefslogtreecommitdiff
path: root/app/views/node_actions/_action_row.html.erb
diff options
context:
space:
mode:
authorerdgeist <erdgeist@erdgeist.org>2026-07-18 15:28:30 +0200
committererdgeist <erdgeist@erdgeist.org>2026-07-18 15:28:30 +0200
commit6b6e50909cc77de1797e88be5445c5b643b008a9 (patch)
tree3b72081f0ae4428c1c346c267681115d42e22855 /app/views/node_actions/_action_row.html.erb
parent49de2e14972030a7ef0ca36a94ab55a23a2f3596 (diff)
Give action log entries per-verb icons
A muted glyph before each sentence makes both log surfaces scannable by verb: create, publish, move, trash, restore, destroy, and the discard pair. Rollback publishes get their own icon (history) distinct from ordinary promotion. Unknown verbs fall back to a dashed circle.
Diffstat (limited to 'app/views/node_actions/_action_row.html.erb')
-rw-r--r--app/views/node_actions/_action_row.html.erb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/views/node_actions/_action_row.html.erb b/app/views/node_actions/_action_row.html.erb
index 5b5488b..c640f0d 100644
--- a/app/views/node_actions/_action_row.html.erb
+++ b/app/views/node_actions/_action_row.html.erb
@@ -4,6 +4,7 @@
4 <span class="node_action_clock"><%= action.occurred_at.strftime("%H:%M") %></span> 4 <span class="node_action_clock"><%= action.occurred_at.strftime("%H:%M") %></span>
5 </td> 5 </td>
6 <td class="node_action_body"> 6 <td class="node_action_body">
7 <%= verb_icon(action) %>
7 <%= action_summary(action) %> 8 <%= action_summary(action) %>
8 <% if action.node_id && params[:node_id].blank? %> 9 <% if action.node_id && params[:node_id].blank? %>
9 <%= link_to t("node_actions.node_history"), admin_log_path(:node_id => action.node_id), :class => "node_action_zoom" %> 10 <%= link_to t("node_actions.node_history"), admin_log_path(:node_id => action.node_id), :class => "node_action_zoom" %>