2009-05-25 23:02:28 +04:00
|
|
|
<div class="contextual">
|
2011-05-17 20:15:34 +04:00
|
|
|
<%= watcher_link(@wiki, User.current) %>
|
2009-05-25 23:02:28 +04:00
|
|
|
</div>
|
|
|
|
|
2007-09-27 23:35:53 +04:00
|
|
|
<h2><%= l(:label_index_by_date) %></h2>
|
|
|
|
|
|
|
|
<% if @pages.empty? %>
|
|
|
|
<p class="nodata"><%= l(:label_no_data) %></p>
|
|
|
|
<% end %>
|
|
|
|
|
|
|
|
<% @pages_by_date.keys.sort.reverse.each do |date| %>
|
|
|
|
<h3><%= format_date(date) %></h3>
|
|
|
|
<ul>
|
|
|
|
<% @pages_by_date[date].each do |page| %>
|
2010-10-29 01:25:38 +04:00
|
|
|
<li><%= link_to page.pretty_title, :action => 'show', :id => page.title, :project_id => page.project %></li>
|
2007-09-27 23:35:53 +04:00
|
|
|
<% end %>
|
|
|
|
</ul>
|
|
|
|
<% end %>
|
|
|
|
|
|
|
|
<% content_for :sidebar do %>
|
|
|
|
<%= render :partial => 'sidebar' %>
|
|
|
|
<% end %>
|
|
|
|
|
|
|
|
<% unless @pages.empty? %>
|
2009-01-29 16:53:17 +03:00
|
|
|
<% other_formats_links do |f| %>
|
2011-02-11 11:27:03 +03:00
|
|
|
<%= f.link_to 'Atom', :url => {:controller => 'activities', :action => 'index', :id => @project, :show_wiki_edits => 1, :key => User.current.rss_key} %>
|
2010-10-13 21:13:50 +04:00
|
|
|
<%= f.link_to('HTML', :url => {:action => 'export'}) if User.current.allowed_to?(:export_wiki_pages, @project) %>
|
2009-01-29 16:53:17 +03:00
|
|
|
<% end %>
|
2008-03-05 11:25:22 +03:00
|
|
|
<% end %>
|
|
|
|
|
|
|
|
<% content_for :header_tags do %>
|
2011-02-11 11:27:03 +03: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 %>
|