The Trash is empty.
<% else %> <%= will_paginate @nodes %>| Title | Was at | Trashed | Actions |
|---|---|---|---|
| <%= link_to (node.draft&.title || node.slug), node_path(node) %><%= " (+ #{doomed_below} beneath)" if doomed_below > 0 %> | <%= entry&.metadata&.dig("path", "from") %> | <% if entry %> <%= entry.occurred_at.strftime("%Y-%m-%d %H:%M") %> by <%= entry.actor_name %> <% end %> | <%= button_to node_path(node), method: :delete, form: { data: { confirm: doomed_below > 0 ? "Delete \"#{node.draft&.title || node.slug}\" and the #{doomed_below} pages beneath it permanently? This cannot be undone." : "Delete \"#{node.draft&.title || node.slug}\" permanently? This cannot be undone." }, class: 'button_to destructive' } do %> <%= icon("trash-x", library: "tabler", "aria-hidden": true) %> Delete permanently <% end %> |
To restore a page, open it and pick a new parent in its Trash section.
<% end %>