diff options
| author | erdgeist <erdgeist@erdgeist.org> | 2026-07-17 17:52:08 +0200 |
|---|---|---|
| committer | erdgeist <erdgeist@erdgeist.org> | 2026-07-17 17:54:18 +0200 |
| commit | 3ec280e6e8187f4344fc20f89ec84ecfcc7326da (patch) | |
| tree | fb889e58042b0c79b5ac30f6a886f1f4631e996e /app | |
| parent | da5bb5788802c725f9f14b72e6a54c6c38ea5e0a (diff) | |
Retire recent changes widget, replace with action log
Diffstat (limited to 'app')
| -rw-r--r-- | app/views/node_actions/_action_row.html.erb | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/app/views/node_actions/_action_row.html.erb b/app/views/node_actions/_action_row.html.erb new file mode 100644 index 0000000..5b5488b --- /dev/null +++ b/app/views/node_actions/_action_row.html.erb | |||
| @@ -0,0 +1,17 @@ | |||
| 1 | <tr class="node_action node_action--<%= action.action %>"> | ||
| 2 | <td class="node_action_time"> | ||
| 3 | <span class="node_action_date"><%= action.occurred_at.strftime("%Y-%m-%d") %></span> | ||
| 4 | <span class="node_action_clock"><%= action.occurred_at.strftime("%H:%M") %></span> | ||
| 5 | </td> | ||
| 6 | <td class="node_action_body"> | ||
| 7 | <%= action_summary(action) %> | ||
| 8 | <% 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 | <% end %> | ||
| 11 | <% if action.inferred_from %> | ||
| 12 | <span class="node_action_inferred" title="<%= action.inferred_from %>"><%= t("node_actions.backfilled") %></span> | ||
| 13 | <% end %> | ||
| 14 | <%= render "node_actions/change_details", :action_entry => action if action_details?(action) %> | ||
| 15 | </td> | ||
| 16 | </tr> | ||
| 17 | |||
