diff options
| author | hukl <contact@smyck.org> | 2009-03-15 20:08:31 +0100 |
|---|---|---|
| committer | hukl <contact@smyck.org> | 2009-03-15 20:08:31 +0100 |
| commit | 2d06e3bd5b484ef06f871b589bfabf6307bca1db (patch) | |
| tree | 2cd930ae231f9e6d29975baf32a7254cd7c05e20 /app/views/admin | |
| parent | b7f67dc8527c6b404fa9682f07c7a1068bb83c7f (diff) | |
More linkage for revisions
Diffstat (limited to 'app/views/admin')
| -rw-r--r-- | app/views/admin/index.html.erb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/views/admin/index.html.erb b/app/views/admin/index.html.erb index 00a5c09..c5bb5de 100644 --- a/app/views/admin/index.html.erb +++ b/app/views/admin/index.html.erb | |||
| @@ -14,6 +14,8 @@ | |||
| 14 | <td><%= draft.node.unique_name %></td> | 14 | <td><%= draft.node.unique_name %></td> |
| 15 | <td><%= draft.user.login rescue "" %></td> | 15 | <td><%= draft.user.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> | ||
| 18 | <td><%= link_to "Publish", publish_node_path(draft.node), :method => :put, :confirm => "Do you really want to publish?" %></td> | ||
| 17 | </tr> | 19 | </tr> |
| 18 | <% end %> | 20 | <% end %> |
| 19 | </table> | 21 | </table> |
