special_date_index.rhtml
33 lines
| 1.0 KiB
| text/html+ruby
|
RhtmlLexer
|
r2666 | <div class="contextual"> | ||
<%= watcher_tag(@wiki, User.current) %> | ||||
</div> | ||||
|
r757 | <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| %> | ||||
<li><%= link_to page.pretty_title, :action => 'index', :page => page.title %></li> | ||||
<% end %> | ||||
</ul> | ||||
<% end %> | ||||
<% content_for :sidebar do %> | ||||
<%= render :partial => 'sidebar' %> | ||||
<% end %> | ||||
<% unless @pages.empty? %> | ||||
|
r2331 | <% other_formats_links do |f| %> | ||
|
r2697 | <%= f.link_to 'Atom', :url => {:controller => 'projects', :action => 'activity', :id => @project, :show_wiki_edits => 1, :key => User.current.rss_key} %> | ||
|
r2331 | <%= f.link_to 'HTML', :url => {:action => 'special', :page => 'export'} %> | ||
<% end %> | ||||
|
r1171 | <% end %> | ||
<% content_for :header_tags do %> | ||||
|
r2697 | <%= auto_discovery_link_tag(:atom, :controller => 'projects', :action => 'activity', :id => @project, :show_wiki_edits => 1, :format => 'atom', :key => User.current.rss_key) %> | ||
|
r757 | <% end %> | ||