summaryrefslogtreecommitdiff
path: root/app/views/nodes
diff options
context:
space:
mode:
authorerdgeist <erdgeist@erdgeist.org>2026-07-02 00:53:40 +0200
committererdgeist <erdgeist@erdgeist.org>2026-07-02 00:53:40 +0200
commit2c54303b1ac08ec6b7382ece218f37d59db7052c (patch)
treeda90425fcb8a7e8a95c775ebe10d26e6deb78b38 /app/views/nodes
parentab7e3e803c88d2a0a0b82aecd939f53b095df4eb (diff)
Add direct edit link to nodes#index
First application of subnav visual conventions to nodes: actions column now shows show | edit | revisions as plain informational links. edit intentionally uses edit_node_path (locking is expected behaviour for nodes, unlike event views where node_path is used to avoid inadvertent locking).
Diffstat (limited to 'app/views/nodes')
-rw-r--r--app/views/nodes/index.html.erb3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/views/nodes/index.html.erb b/app/views/nodes/index.html.erb
index e5a55d4..2399105 100644
--- a/app/views/nodes/index.html.erb
+++ b/app/views/nodes/index.html.erb
@@ -21,7 +21,8 @@
21 </td> 21 </td>
22 <td class="actions"> 22 <td class="actions">
23 <%= link_to 'show', node_path(node) %> 23 <%= link_to 'show', node_path(node) %>
24 <%= link_to 'Revisions', node_revisions_path(node) %> 24 <%= link_to 'edit', edit_node_path(node) %>
25 <%= link_to 'revisions', node_revisions_path(node) %>
25 </td> 26 </td>
26 <td> 27 <td>
27 <%= node.lock_owner.login if node.lock_owner %> 28 <%= node.lock_owner.login if node.lock_owner %>