summaryrefslogtreecommitdiff
path: root/app/views/nodes
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/nodes')
-rw-r--r--app/views/nodes/index.html.erb4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/views/nodes/index.html.erb b/app/views/nodes/index.html.erb
index 3b0dde8..5d59f5d 100644
--- a/app/views/nodes/index.html.erb
+++ b/app/views/nodes/index.html.erb
@@ -10,6 +10,7 @@
10 <th class="title">Title</th> 10 <th class="title">Title</th>
11 <th class="path">Path</th> 11 <th class="path">Path</th>
12 <th class="actions">Actions</th> 12 <th class="actions">Actions</th>
13 <th class="editor">Locked by</th>
13 </tr> 14 </tr>
14 <% @nodes.each do |node| %> 15 <% @nodes.each do |node| %>
15 <tr class="<%= cycle("even", "odd") %>"> 16 <tr class="<%= cycle("even", "odd") %>">
@@ -24,6 +25,9 @@
24 <%= link_to 'Edit', edit_node_path(node) %> 25 <%= link_to 'Edit', edit_node_path(node) %>
25 <%= link_to 'Destroy', node, :method => :delete %> 26 <%= link_to 'Destroy', node, :method => :delete %>
26 </td> 27 </td>
28 <td>
29 <%= "#{node.draft.user.login}" if node.draft && node.draft.user %>
30 </td>
27 </tr> 31 </tr>
28 <% end %> 32 <% end %>
29 </table> 33 </table>