2009-10-05 17:25:19 +02:00
|
|
|
-ident = 20 * level
|
|
|
|
%tr
|
|
|
|
%td{:style => "padding-left: #{ident}px"}
|
|
|
|
= link_to page.title, wiki_page_path(page.permalink)
|
2013-09-20 22:40:13 +02:00
|
|
|
%td #{show_user page.user} (#{format_datetime_timespec(page.updated_at, t('.date_format'))})
|
2009-10-05 17:25:19 +02:00
|
|
|
-if siteMap == 1
|
|
|
|
-for child in page.children.all
|
2013-04-12 00:58:38 +02:00
|
|
|
= render :partial => 'page_list_item', :locals => {:page => child, :level => level+1, :siteMap => 1}
|