2007-09-27 23:35:53 +04:00
|
|
|
<h2><%= l(:label_index_by_title) %></h2>
|
2007-03-12 20:59:02 +03:00
|
|
|
|
2007-09-27 23:35:53 +04:00
|
|
|
<% if @pages.empty? %>
|
|
|
|
<p class="nodata"><%= l(:label_no_data) %></p>
|
|
|
|
<% end %>
|
2007-03-12 20:59:02 +03:00
|
|
|
|
2008-07-26 15:46:24 +04:00
|
|
|
<%= render_page_hierarchy(@pages_by_parent_id) %>
|
2007-09-27 23:35:53 +04:00
|
|
|
|
|
|
|
<% content_for :sidebar do %>
|
|
|
|
<%= render :partial => 'sidebar' %>
|
|
|
|
<% end %>
|
|
|
|
|
|
|
|
<% unless @pages.empty? %>
|
2009-01-29 16:53:17 +03:00
|
|
|
<% other_formats_links do |f| %>
|
|
|
|
<%= f.link_to 'Atom', :url => {:controller => 'projects', :action => 'activity', :id => @project, :show_wiki_pages => 1, :key => User.current.rss_key} %>
|
|
|
|
<%= f.link_to 'HTML', :url => {:action => 'special', :page => 'export'} %>
|
|
|
|
<% end %>
|
2008-03-05 11:25:22 +03:00
|
|
|
<% end %>
|
|
|
|
|
|
|
|
<% content_for :header_tags do %>
|
|
|
|
<%= auto_discovery_link_tag(:atom, :controller => 'projects', :action => 'activity', :id => @project, :show_wiki_pages => 1, :format => 'atom', :key => User.current.rss_key) %>
|
2007-09-27 23:35:53 +04:00
|
|
|
<% end %>
|