diff options
| author | erdgeist <erdgeist@erdgeist.org> | 2026-07-22 14:38:46 +0200 |
|---|---|---|
| committer | erdgeist <erdgeist@erdgeist.org> | 2026-07-22 14:38:46 +0200 |
| commit | 6893270420c13cf1a0af158cf3d4cc71cd7e2005 (patch) | |
| tree | 74f4eb03ffa6d12c09ce22b468a4aafa7c10bc61 /app/views | |
| parent | 2366af57461cd7e76028960a444672a3ce0c3634 (diff) | |
Retire nodes#recent, superseded by the action log
Diffstat (limited to 'app/views')
| -rw-r--r-- | app/views/nodes/_recent_change_item.html.erb | 9 | ||||
| -rw-r--r-- | app/views/nodes/recent.html.erb | 7 |
2 files changed, 0 insertions, 16 deletions
diff --git a/app/views/nodes/_recent_change_item.html.erb b/app/views/nodes/_recent_change_item.html.erb deleted file mode 100644 index 754a775a..00000000 --- a/app/views/nodes/_recent_change_item.html.erb +++ /dev/null | |||
| @@ -1,9 +0,0 @@ | |||
| 1 | <li> | ||
| 2 | <div> | ||
| 3 | <%= link_to title_for_node(node), node_path(node) %> | ||
| 4 | <span class="field_hint"><%= link_to_path("#{node.unique_name} ↗", node.unique_name) %></span> | ||
| 5 | </div> | ||
| 6 | <span class="dashboard_widget_meta"> | ||
| 7 | <%= (editor = node_head_editor(node)) ? t("last_edited_by", editor: editor) : t("last_edited") %>, <%= relative_time_phrase(node.head.updated_at) %> | ||
| 8 | </span> | ||
| 9 | </li> | ||
diff --git a/app/views/nodes/recent.html.erb b/app/views/nodes/recent.html.erb deleted file mode 100644 index d2562533..00000000 --- a/app/views/nodes/recent.html.erb +++ /dev/null | |||
| @@ -1,7 +0,0 @@ | |||
| 1 | <h1>Recently changed</h1> | ||
| 2 | |||
| 3 | <%= will_paginate @nodes %> | ||
| 4 | <ul id="recent_changes_full_list"> | ||
| 5 | <%= render partial: "nodes/recent_change_item", collection: @nodes, as: :node %> | ||
| 6 | </ul> | ||
| 7 | <%= will_paginate @nodes %> | ||
