summaryrefslogtreecommitdiff
path: root/app/views/nodes/index.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/index.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/index.html.erb')
-rw-r--r--app/views/nodes/index.html.erb14
1 files changed, 6 insertions, 8 deletions
diff --git a/app/views/nodes/index.html.erb b/app/views/nodes/index.html.erb
index 357c938b..b88eca06 100644
--- a/app/views/nodes/index.html.erb
+++ b/app/views/nodes/index.html.erb
@@ -1,10 +1,8 @@
1<h1><%= t(".title") %></h1> 1<%= render "shared/page_actions",
2 2 :title => t(".title"),
3<div> 3 :icon_name => "file-plus",
4 <%= link_to new_node_path, class: 'action_button' do %> 4 :label => t(".create_node"),
5 <%= icon("plus", library: "tabler", "aria-hidden": true) %> <%= t(".create_node") %> 5 :options => [[t(".create_node"), new_node_path]],
6 <% end %> 6 :hint => t(".create_hint") %>
7 <span class="field_hint"><%= t(".create_hint") %></span>
8</div>
9 7
10<%= render 'node_list' %> 8<%= render 'node_list' %>