Added site map and titel list to pages/all

* pages/all now consists of three alternativ views: recent changes, site map and title list
This commit is contained in:
sandoz 2009-10-05 17:25:19 +02:00
parent 305a4ac895
commit 90f760858e
7 changed files with 58 additions and 10 deletions

View file

@ -0,0 +1,10 @@
.column_content
%table
%tr
%th Titel
%th Zuletzt aktualisiert
- homepage = Page.find_by_permalink('Home')
= render :partial => 'page_list_item', :locals => {:page => homepage, :level => 0, :siteMap => 1}
- for page in @top_pages
- if page.id != homepage.id
= render :partial => 'page_list_item', :locals => {:page => page, :level => 0, :siteMap => 1}