From 7f82b8e23ec9b76d0b8a417b2d2b577aeaf7a55f Mon Sep 17 00:00:00 2001 From: hukl Date: Sun, 15 Mar 2009 19:27:37 +0100 Subject: adding revision links to the interface. disabling destroy for now --- app/views/revisions/show.html.erb | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) (limited to 'app/views/revisions') diff --git a/app/views/revisions/show.html.erb b/app/views/revisions/show.html.erb index 20fc39c..c63e7e8 100644 --- a/app/views/revisions/show.html.erb +++ b/app/views/revisions/show.html.erb @@ -1,2 +1,17 @@ -

Revisions#show

-

Find me in app/views/revisions/show.html.erb

+ + +

Revisions for Node: <%= @node.unique_name %>

+ +

Current title: <%= @node.head.title %>

+ +<% @node.pages.reverse.each do |page| %> + + + + + + +<% end %> +
<%= page.revision %><%= page.title %><%= page.user.try(:login) %><%= page.updated_at %>
\ No newline at end of file -- cgit v1.3