diff options
| author | erdgeist <erdgeist@erdgeist.org> | 2026-07-13 23:33:11 +0200 |
|---|---|---|
| committer | erdgeist <erdgeist@erdgeist.org> | 2026-07-13 23:33:11 +0200 |
| commit | 8eab68f2c5a3c126e2fec2ecdfa7ace87ce0937b (patch) | |
| tree | f446ebc26a7707c7b64a937aa51a155df146c80a /app/views/nodes/index.html.erb | |
| parent | 42714c697273a7117c6b355fab26c8c35e336ad1 (diff) | |
| parent | cdf5d9941ca866d437612d2f863eac6eb0b3db12 (diff) | |
Merge branch 'erdgeist-revive-events'
Diffstat (limited to 'app/views/nodes/index.html.erb')
| -rw-r--r-- | app/views/nodes/index.html.erb | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/app/views/nodes/index.html.erb b/app/views/nodes/index.html.erb index e5a55d4..3bb251c 100644 --- a/app/views/nodes/index.html.erb +++ b/app/views/nodes/index.html.erb | |||
| @@ -1,8 +1,12 @@ | |||
| 1 | <% content_for :subnavigation do %> | ||
| 2 | <%= link_to 'Create', new_node_path %> | ||
| 3 | <% end %> | ||
| 4 | <h1>Nodes</h1> | 1 | <h1>Nodes</h1> |
| 5 | 2 | ||
| 3 | <div> | ||
| 4 | <%= link_to new_node_path, class: 'action_button' do %> | ||
| 5 | <%= icon("plus", library: "tabler", "aria-hidden": true) %> Create node | ||
| 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> | ||
| 8 | </div> | ||
| 9 | |||
| 6 | <%= will_paginate @nodes %> | 10 | <%= will_paginate @nodes %> |
| 7 | <table class="node_table"> | 11 | <table class="node_table"> |
| 8 | <tr class="header"> | 12 | <tr class="header"> |
| @@ -21,7 +25,8 @@ | |||
| 21 | </td> | 25 | </td> |
| 22 | <td class="actions"> | 26 | <td class="actions"> |
| 23 | <%= link_to 'show', node_path(node) %> | 27 | <%= link_to 'show', node_path(node) %> |
| 24 | <%= link_to 'Revisions', node_revisions_path(node) %> | 28 | <%= link_to 'edit', edit_node_path(node) %> |
| 29 | <%= link_to 'revisions', node_revisions_path(node) %> | ||
| 25 | </td> | 30 | </td> |
| 26 | <td> | 31 | <td> |
| 27 | <%= node.lock_owner.login if node.lock_owner %> | 32 | <%= node.lock_owner.login if node.lock_owner %> |
