summaryrefslogtreecommitdiff
path: root/app/views/nodes/_node_list.html.erb
diff options
context:
space:
mode:
authorerdgeist <erdgeist@erdgeist.org>2026-08-04 17:13:18 +0200
committererdgeist <erdgeist@erdgeist.org>2026-08-04 17:13:18 +0200
commitac01156d00b24d14225c8e75979fb59bba69640d (patch)
treef223b41358debb6cee45c5351d885505615b0e02 /app/views/nodes/_node_list.html.erb
parent409d71ed471703be8c56f2639a3ecb0fa387e6a7 (diff)
Tidy up headings on house keeping views
- Collapse page headers into one action row with an optional hint - limit will_paginate to one row
Diffstat (limited to 'app/views/nodes/_node_list.html.erb')
-rw-r--r--app/views/nodes/_node_list.html.erb8
1 files changed, 1 insertions, 7 deletions
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 @@
14 14
15<%= will_paginate @nodes %> 15<%= will_paginate @nodes %>
16<table class="node_table"> 16<table class="node_table">
17 <tr class="header">
18 <th class="title"><%= t("admin.columns.title") %></th>
19 <th class="actions"><%= t("admin.columns.actions") %></th>
20 <th class="revision"><%= t("admin.columns.rev") %></th>
21 </tr>
22 <% @nodes.each do |node| %> 17 <% @nodes.each do |node| %>
23 <tr class="<%= cycle("even", "odd") %>"> 18 <tr class="<%= cycle("even", "odd") %>">
24 <td class="title"> 19 <td class="title">
@@ -30,7 +25,7 @@
30 t(".flag_embargo", :date => admin_datetime(node.head.published_at)), 25 t(".flag_embargo", :date => admin_datetime(node.head.published_at)),
31 :tier => :attention) if node.embargoed? %> 26 :tier => :attention) if node.embargoed? %>
32 <%= flag("file-pencil", t(".flag_draft")) if node.draft %> 27 <%= flag("file-pencil", t(".flag_draft")) if node.draft %>
33 <%= flag("file-off", t(".flag_no_head")) unless node.head %> 28 <%= flag("world-off", t(".flag_no_head")) unless node.head %>
34 </span> 29 </span>
35 <div class="title_body"> 30 <div class="title_body">
36 <div class="node_title"><%= link_to title_for_node(node), node_path(node) %></div> 31 <div class="node_title"><%= link_to title_for_node(node), node_path(node) %></div>
@@ -54,7 +49,6 @@
54 </span> 49 </span>
55 </div> 50 </div>
56 </td> 51 </td>
57 <td><%= node.head ? node.head.revision : t(".no_revision") %></td>
58 </tr> 52 </tr>
59 <% end %> 53 <% end %>
60</table> 54</table>