From e9418758513fea6a83f63d31ecac316fdb6fc151 Mon Sep 17 00:00:00 2001 From: hukl Date: Mon, 27 Apr 2009 16:11:47 +0200 Subject: seperated admin overview into partials. included recent changes --- app/views/admin/_recent_changes.html.erb | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 app/views/admin/_recent_changes.html.erb (limited to 'app/views/admin/_recent_changes.html.erb') diff --git a/app/views/admin/_recent_changes.html.erb b/app/views/admin/_recent_changes.html.erb new file mode 100644 index 0000000..1bb14a6 --- /dev/null +++ b/app/views/admin/_recent_changes.html.erb @@ -0,0 +1,24 @@ +

Recent Changes

+
+ + + + + + + + + <% @recent_changes.each do |node| %> + + + + + + + + <% end %> +
Titlepathuserdate
<%= node.draft.try(:title) %><%= node.unique_name %><%= node.draft.user.login rescue "" %><%= node.updated_at.to_s(:db) %> + <%= link_to 'Show', node_path(node) %> + <%= link_to "Revisions", revision_path(:id => node.id) %> +
+
\ No newline at end of file -- cgit v1.3