summaryrefslogtreecommitdiff
path: root/app/views
diff options
context:
space:
mode:
Diffstat (limited to 'app/views')
-rw-r--r--app/views/admin/index.html.erb2
-rw-r--r--app/views/nodes/index.html.erb2
2 files changed, 2 insertions, 2 deletions
diff --git a/app/views/admin/index.html.erb b/app/views/admin/index.html.erb
index c5bb5de..b40f92a 100644
--- a/app/views/admin/index.html.erb
+++ b/app/views/admin/index.html.erb
@@ -12,7 +12,7 @@
12 <td><%= draft.id %></td> 12 <td><%= draft.id %></td>
13 <td><%= draft.title %></td> 13 <td><%= draft.title %></td>
14 <td><%= draft.node.unique_name %></td> 14 <td><%= draft.node.unique_name %></td>
15 <td><%= draft.user.login rescue "" %></td> 15 <td><%= draft.node.lock_owner.login rescue "" %></td>
16 <td><%= link_to 'Show', node_path(draft.node) %></td> 16 <td><%= link_to 'Show', node_path(draft.node) %></td>
17 <td><%= link_to "Diff revisions", :controller => :revisions, :action => :diff, :id => draft.node.id %></td> 17 <td><%= link_to "Diff revisions", :controller => :revisions, :action => :diff, :id => draft.node.id %></td>
18 <td><%= link_to "Publish", publish_node_path(draft.node), :method => :put, :confirm => "Do you really want to publish?" %></td> 18 <td><%= link_to "Publish", publish_node_path(draft.node), :method => :put, :confirm => "Do you really want to publish?" %></td>
diff --git a/app/views/nodes/index.html.erb b/app/views/nodes/index.html.erb
index 53ddb5b..be63de3 100644
--- a/app/views/nodes/index.html.erb
+++ b/app/views/nodes/index.html.erb
@@ -28,7 +28,7 @@
28 <%= link_to 'Unlock', unlock_node_path(node), :method => :put, :confirm => "Are you sure you want to unlock?" %> 28 <%= link_to 'Unlock', unlock_node_path(node), :method => :put, :confirm => "Are you sure you want to unlock?" %>
29 </td> 29 </td>
30 <td> 30 <td>
31 <%= node.user.login if node.user %> 31 <%= node.lock_owner.login if node.lock_owner %>
32 </td> 32 </td>
33 <td> 33 <td>
34 <%= node.draft ? node.draft.revision : node.head.revision %> 34 <%= node.draft ? node.draft.revision : node.head.revision %>