From ac01156d00b24d14225c8e75979fb59bba69640d Mon Sep 17 00:00:00 2001 From: erdgeist Date: Tue, 4 Aug 2026 17:13:18 +0200 Subject: Tidy up headings on house keeping views - Collapse page headers into one action row with an optional hint - limit will_paginate to one row --- app/views/nodes/_node_list.html.erb | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'app/views/nodes/_node_list.html.erb') diff --git a/app/views/nodes/_node_list.html.erb b/app/views/nodes/_node_list.html.erb index 458ab1ae..f3101058 100644 --- a/app/views/nodes/_node_list.html.erb +++ b/app/views/nodes/_node_list.html.erb @@ -14,11 +14,6 @@ <%= will_paginate @nodes %> - - - - - <% @nodes.each do |node| %> "> - <% end %>
<%= t("admin.columns.title") %><%= t("admin.columns.actions") %><%= t("admin.columns.rev") %>
@@ -30,7 +25,7 @@ t(".flag_embargo", :date => admin_datetime(node.head.published_at)), :tier => :attention) if node.embargoed? %> <%= flag("file-pencil", t(".flag_draft")) if node.draft %> - <%= flag("file-off", t(".flag_no_head")) unless node.head %> + <%= flag("world-off", t(".flag_no_head")) unless node.head %>
<%= link_to title_for_node(node), node_path(node) %>
@@ -54,7 +49,6 @@
<%= node.head ? node.head.revision : t(".no_revision") %>
-- cgit v1.3