index.html.erb
26 lines
| 923 B
| text/plain
|
TextLexer
|
r2666 | <div class="contextual"> | ||
<%= watcher_tag(@wiki, User.current) %> | ||||
</div> | ||||
|
r757 | <h2><%= l(:label_index_by_title) %></h2> | ||
|
r330 | |||
|
r757 | <% if @pages.empty? %> | ||
<p class="nodata"><%= l(:label_no_data) %></p> | ||||
<% end %> | ||||
|
r330 | |||
|
r4979 | <%= render_page_hierarchy(@pages_by_parent_id, nil, :timestamp => true) %> | ||
|
r757 | |||
<% content_for :sidebar do %> | ||||
<%= render :partial => 'sidebar' %> | ||||
<% end %> | ||||
<% unless @pages.empty? %> | ||||
|
r2331 | <% other_formats_links do |f| %> | ||
|
r7267 | <%= f.link_to 'Atom', :url => {:controller => 'activities', :action => 'index', :id => @project, :show_wiki_edits => 1, :key => User.current.rss_key} %> | ||
<%= f.link_to('HTML', :url => {:action => 'export'}) if User.current.allowed_to?(:export_wiki_pages, @project) %> | ||||
|
r2331 | <% end %> | ||
|
r1171 | <% end %> | ||
<% content_for :header_tags do %> | ||||
|
r5066 | <%= auto_discovery_link_tag(:atom, :controller => 'activities', :action => 'index', :id => @project, :show_wiki_edits => 1, :format => 'atom', :key => User.current.rss_key) %> | ||
|
r757 | <% end %> | ||