2009-05-25 23:02:28 +04:00
|
|
|
<div class="contextual">
|
|
|
|
<%= watcher_tag(@wiki, User.current) %>
|
|
|
|
</div>
|
|
|
|
|
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
|
|
|
|
2011-03-12 21:27:02 +03:00
|
|
|
<%= render_page_hierarchy(@pages_by_parent_id, nil, :timestamp => true) %>
|
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| %>
|
2012-01-03 10:24:43 +04:00
|
|
|
<%= f.link_to 'Atom',
|
|
|
|
:url => {:controller => 'activities', :action => 'index',
|
|
|
|
:id => @project, :show_wiki_edits => 1,
|
|
|
|
:key => User.current.rss_key} %>
|
2012-01-30 22:42:14 +04:00
|
|
|
<% if User.current.allowed_to?(:export_wiki_pages, @project) %>
|
|
|
|
<%= f.link_to('PDF', :url => {:action => 'export', :format => 'pdf'}) %>
|
|
|
|
<%= f.link_to('HTML', :url => {:action => 'export'}) %>
|
|
|
|
<% end %>
|
2009-01-29 16:53:17 +03:00
|
|
|
<% end %>
|
2008-03-05 11:25:22 +03:00
|
|
|
<% end %>
|
|
|
|
|
|
|
|
<% content_for :header_tags do %>
|
2012-01-03 10:24:43 +04:00
|
|
|
<%= auto_discovery_link_tag(
|
|
|
|
:atom, :controller => 'activities', :action => 'index',
|
|
|
|
:id => @project, :show_wiki_edits => 1, :format => 'atom',
|
|
|
|
:key => User.current.rss_key) %>
|
2007-09-27 23:35:53 +04:00
|
|
|
<% end %>
|