Chris@1295:
Chris@1295: <%= watcher_link(@wiki, User.current) %>
Chris@1295:
Chris@1295:
Chris@1295: <%= l(:label_index_by_date) %>
Chris@1295:
Chris@1295: <% if @pages.empty? %>
Chris@1295: <%= l(:label_no_data) %>
Chris@1295: <% end %>
Chris@1295:
Chris@1295: <% @pages_by_date.keys.sort.reverse.each do |date| %>
Chris@1295: <%= format_date(date) %>
Chris@1295:
Chris@1295: <% @pages_by_date[date].each do |page| %>
Chris@1295: - <%= link_to h(page.pretty_title), :action => 'show', :id => page.title, :project_id => page.project %>
Chris@1295: <% end %>
Chris@1295:
Chris@1295: <% end %>
Chris@1295:
Chris@1295: <% content_for :sidebar do %>
Chris@1295: <%= render :partial => 'sidebar' %>
Chris@1295: <% end %>
Chris@1295:
Chris@1295: <% unless @pages.empty? %>
Chris@1295: <% other_formats_links do |f| %>
Chris@1295: <%= f.link_to 'Atom', :url => {:controller => 'activities', :action => 'index', :id => @project, :show_wiki_edits => 1, :key => User.current.rss_key} %>
Chris@1295: <% if User.current.allowed_to?(:export_wiki_pages, @project) %>
Chris@1295: <%= f.link_to('PDF', :url => {:action => 'export', :format => 'pdf'}) %>
Chris@1295: <%= f.link_to('HTML', :url => {:action => 'export'}) %>
Chris@1295: <% end %>
Chris@1295: <% end %>
Chris@1295: <% end %>
Chris@1295:
Chris@1295: <% content_for :header_tags do %>
Chris@1295: <%= auto_discovery_link_tag(:atom, :controller => 'activities', :action => 'index', :id => @project, :show_wiki_edits => 1, :format => 'atom', :key => User.current.rss_key) %>
Chris@1295: <% end %>