summaryrefslogtreecommitdiff
path: root/app/views/nodes/index.html.erb
diff options
context:
space:
mode:
authorerdgeist <erdgeist@erdgeist.org>2026-07-25 02:23:13 +0200
committererdgeist <erdgeist@erdgeist.org>2026-07-25 02:23:13 +0200
commit0a5d7806700bb3154529b99abc75d37ccc46faff (patch)
tree16c4b705d824c83c5887ae7661928c0c4f93c2c3 /app/views/nodes/index.html.erb
parent90207029de7474082310d0725801d60f7145fa98 (diff)
Extract admin strings to i18n: the nodes cluster
Diffstat (limited to 'app/views/nodes/index.html.erb')
-rw-r--r--app/views/nodes/index.html.erb16
1 files changed, 8 insertions, 8 deletions
diff --git a/app/views/nodes/index.html.erb b/app/views/nodes/index.html.erb
index 3bb251c5..7ab5679e 100644
--- a/app/views/nodes/index.html.erb
+++ b/app/views/nodes/index.html.erb
@@ -1,20 +1,20 @@
1<h1>Nodes</h1> 1<h1><%= t(".title") %></h1>
2 2
3<div> 3<div>
4 <%= link_to new_node_path, class: 'action_button' do %> 4 <%= link_to new_node_path, class: 'action_button' do %>
5 <%= icon("plus", library: "tabler", "aria-hidden": true) %> Create node 5 <%= icon("plus", library: "tabler", "aria-hidden": true) %> <%= t(".create_node") %>
6 <% end %> 6 <% end %>
7 <span class="field_hint">Creates a node with no parent or kind set — for a specific page, use the wizard's create flow or "add child" from an existing node instead.</span> 7 <span class="field_hint"><%= t(".create_hint") %></span>
8</div> 8</div>
9 9
10<%= will_paginate @nodes %> 10<%= will_paginate @nodes %>
11 <table class="node_table"> 11 <table class="node_table">
12 <tr class="header"> 12 <tr class="header">
13 <th class="node_id">ID</th> 13 <th class="node_id"><%= t("admin.columns.id") %></th>
14 <th class="title">Title</th> 14 <th class="title"><%= t("admin.columns.title") %></th>
15 <th class="actions">Actions</th> 15 <th class="actions"><%= t("admin.columns.actions") %></th>
16 <th class="editor">Locked by</th> 16 <th class="editor"><%= t("admin.columns.locked_by") %></th>
17 <th class="revision">Rev.</th> 17 <th class="revision"><%= t("admin.columns.rev") %></th>
18 </tr> 18 </tr>
19 <% @nodes.each do |node| %> 19 <% @nodes.each do |node| %>
20 <tr class="<%= cycle("even", "odd") %>"> 20 <tr class="<%= cycle("even", "odd") %>">