<%= l(:label_index_by_date) %>
<% if @pages.empty? %>
<%= l(:label_no_data) %>
<% end %>
<% @pages_by_date.keys.sort.reverse.each do |date| %>
<%= format_date(date) %>
<% @pages_by_date[date].each do |page| %>
- <%= link_to page.pretty_title, :action => 'index', :page => page.title %>
<% end %>
<% end %>
<% content_for :sidebar do %>
<%= render :partial => 'sidebar' %>
<% end %>
<% unless @pages.empty? %>
<% 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 %>
<% 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) %>
<% end %>