From 2aab7eaa19dcd2d86012f71954b8543572f8eaa5 Mon Sep 17 00:00:00 2001 From: hukl Date: Sun, 8 Mar 2009 22:57:29 +0100 Subject: added revision column to nodes overview --- app/views/nodes/index.html.erb | 4 ++++ public/stylesheets/admin.css | 6 +++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/app/views/nodes/index.html.erb b/app/views/nodes/index.html.erb index 833ffed..a2a42b1 100644 --- a/app/views/nodes/index.html.erb +++ b/app/views/nodes/index.html.erb @@ -11,6 +11,7 @@ Path Actions Locked by + Rev. <% @nodes.each do |node| %> "> @@ -29,6 +30,9 @@ <%= "#{node.draft.user.login}" if node.draft && node.draft.user %> + + <%= node.head.revision if node.head %> + <% end %> diff --git a/public/stylesheets/admin.css b/public/stylesheets/admin.css index 5fe88f1..3e67231 100644 --- a/public/stylesheets/admin.css +++ b/public/stylesheets/admin.css @@ -22,7 +22,7 @@ th { } th.title { - width: 400px; + width: 370px; } th.path { @@ -37,6 +37,10 @@ th.editor { width: 120px; } +th.revision { + width: 30px; +} + td { padding: 3px; } -- cgit v1.3