summaryrefslogtreecommitdiff
path: root/app/views/nodes
diff options
context:
space:
mode:
authorhukl <contact@smyck.org>2009-03-02 08:55:04 +0100
committerhukl <contact@smyck.org>2009-03-02 08:55:04 +0100
commit7854bffd9b9ec69f47b28a0ebe8aab8c6fc2eb7d (patch)
treee8119041fdc13f44db5d2c67928c5277ff09cdef /app/views/nodes
parentddb70c67ffe7e78d33f47eee633926ed3f4823f2 (diff)
template changes. now lets link that stuff together
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>