diff options
| author | erdgeist <erdgeist@erdgeist.org> | 2026-07-15 01:10:17 +0200 |
|---|---|---|
| committer | erdgeist <erdgeist@erdgeist.org> | 2026-07-15 01:10:17 +0200 |
| commit | 28a6999b55cbec555696df848d6e924aae3166ee (patch) | |
| tree | c93467bbaa23479727291fd5c37f9dcbbfc8b2fe /app/views/nodes/recent.html.erb | |
| parent | 32987915b21590a096ebd7a5239001c5969f8760 (diff) | |
Make the recent-changes page match the widget it links from
nodes/recent rendered the generic node-listing partial (id,
actions, current lock owner, revision number) -- nothing
resembling what 'See all recent changes' actually promised to
show more of. Both surfaces now render the same extracted
partial, so they can't tell two different stories again.
Also: head.editor correctly identifies who last wrote the content
sitting in head, but publish_draft! never touches editor at all
-- nobody has ever had the specific act of publishing recorded
anywhere. 'Published by X' was a claim the data never supported,
only incidentally true when the same person who drafted something
also happened to publish it. Relabeled to 'last edited by' -- same
data, accurately described. A real publish-actor is separate,
future work, once the action log exists.
Basic list styling added for the full page, which had never
rendered outside the widget's own compact five-line context
before.
Diffstat (limited to 'app/views/nodes/recent.html.erb')
| -rw-r--r-- | app/views/nodes/recent.html.erb | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/app/views/nodes/recent.html.erb b/app/views/nodes/recent.html.erb index 36027750..d2562533 100644 --- a/app/views/nodes/recent.html.erb +++ b/app/views/nodes/recent.html.erb | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | <h1>Recently changed</h1> | 1 | <h1>Recently changed</h1> |
| 2 | 2 | ||
| 3 | <%= render 'node_list' %> | 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 %> | ||
