2012-10-09 02:31:10 +02:00
|
|
|
%table.table.table-striped
|
|
|
|
%thead
|
2009-10-05 17:25:19 +02:00
|
|
|
%tr
|
2013-04-12 00:58:38 +02:00
|
|
|
%th= t 'pages.title'
|
|
|
|
%th= t 'pages.last_updated'
|
2009-10-05 17:25:19 +02:00
|
|
|
- homepage = Page.find_by_permalink('Home')
|
2010-02-10 00:13:51 +01:00
|
|
|
- unless homepage.nil?
|
|
|
|
= render :partial => 'page_list_item', :locals => {:page => homepage, :level => 0, :siteMap => 1}
|
2012-10-09 02:31:10 +02:00
|
|
|
%tbody
|
|
|
|
- for page in @pages
|
2013-03-17 17:57:35 +01:00
|
|
|
- if page.id != homepage.try(:id)
|
2009-10-05 17:25:19 +02:00
|
|
|
= render :partial => 'page_list_item', :locals => {:page => page, :level => 0, :siteMap => 1}
|