summaryrefslogtreecommitdiff
path: root/app/views/nodes/index.html.erb
diff options
context:
space:
mode:
authorerdgeist <erdgeist@bauklotz.local>2009-03-18 11:36:10 +0100
committererdgeist <erdgeist@bauklotz.local>2009-03-18 11:36:10 +0100
commitd957a33a0d50f00c1968c5d12e728bd73ea186b3 (patch)
tree8d7ecce1fc6c82abea10b8b8be868a92746cbd89 /app/views/nodes/index.html.erb
parentce55ed022fd373af58f7bd25cdd3f092f5698c54 (diff)
parentca08b36ca6bd874abbb7207495860eeeb53884e0 (diff)
Merge branch 'master' of ssh://git@svn.medienhaus.udk-berlin.de/usr/local/git/cccms
Diffstat (limited to 'app/views/nodes/index.html.erb')
-rw-r--r--app/views/nodes/index.html.erb7
1 files changed, 4 insertions, 3 deletions
diff --git a/app/views/nodes/index.html.erb b/app/views/nodes/index.html.erb
index a2a42b1a..ad604988 100644
--- a/app/views/nodes/index.html.erb
+++ b/app/views/nodes/index.html.erb
@@ -23,15 +23,16 @@
23 <td><%= node.unique_name %></td> 23 <td><%= node.unique_name %></td>
24 <td> 24 <td>
25 <%= link_to 'Show', node_path(node) %> 25 <%= link_to 'Show', node_path(node) %>
26 <%= link_to 'Edit', edit_node_path(node) %> 26 <%= link_to 'Edit', edit_node_path(node) %>
27 <%= link_to 'Destroy', node, :method => :delete, :confirm => "Are you sure you want to delete this node?" %> 27 <%= link_to 'Revision', :controller => :revisions, :action => :show, :id => node.id %>
28 <%# link_to 'Destroy', node, :method => :delete, :confirm => "Are you sure you want to delete this node?" %>
28 <%= link_to 'Unlock', unlock_node_path(node), :method => :put, :confirm => "Are you sure you want to unlock?" %> 29 <%= link_to 'Unlock', unlock_node_path(node), :method => :put, :confirm => "Are you sure you want to unlock?" %>
29 </td> 30 </td>
30 <td> 31 <td>
31 <%= "#{node.draft.user.login}" if node.draft && node.draft.user %> 32 <%= "#{node.draft.user.login}" if node.draft && node.draft.user %>
32 </td> 33 </td>
33 <td> 34 <td>
34 <%= node.head.revision if node.head %> 35 <%= node.pages.length %>
35 </td> 36 </td>
36 </tr> 37 </tr>
37 <% end %> 38 <% end %>