From f7d4d68953f913fa025d140674c6db56ed612c00 Mon Sep 17 00:00:00 2001 From: hukl Date: Sun, 18 Oct 2009 17:57:18 +0200 Subject: re-activated admin overview screen - listing 20 recent changes and 20 current drafts. more to come --- app/views/admin/index.html.erb | 67 +++++++++++++++++++++++++++++++++++++++++- 1 file changed, 66 insertions(+), 1 deletion(-) (limited to 'app/views/admin') diff --git a/app/views/admin/index.html.erb b/app/views/admin/index.html.erb index bd0df0b..1e599aa 100644 --- a/app/views/admin/index.html.erb +++ b/app/views/admin/index.html.erb @@ -1,3 +1,68 @@ - +

+ recent changes + current drafts +

+ +
+

Recent Changes

+ +
+ + + + + + + + <% @recent_changes.each do |node| %> + "> + + + + + + + <% end %> +
IDTitleActionsLocked byRev.
<%= node.id %> +

<%= link_to title_for_node(node), node_path(node) %>

+

<%= link_to_path(node.unique_name, node.unique_name) %>

+
+ <%= link_to 'show', node_path(node) %> + <%= link_to 'Revisions', node_revisions_path(node) %> + + <%= node.lock_owner.login if node.lock_owner %> + + <%= node.draft ? node.draft.revision : node.head.revision %> +
+ +

Current Drafts

+ + + + + + + + + + <% @drafts.each do |node| %> + "> + + + + + + + <% end %>
IDTitleActionsLocked byRev.
<%= node.id %> +

<%= link_to title_for_node(node), node_path(node) %>

+

<%= link_to_path(node.unique_name, node.unique_name) %>

+
+ <%= link_to 'show', node_path(node) %> + <%= link_to 'Revisions', node_revisions_path(node) %> + + <%= node.lock_owner.login if node.lock_owner %> + + <%= node.draft ? node.draft.revision : node.head.revision %> +
\ No newline at end of file -- cgit v1.3