##// END OF EJS Templates
Refactor: Merged IssueStatusesController#list and #index....
Refactor: Merged IssueStatusesController#list and #index. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3415 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r3257:6c8b87fbc8a5
r3301:c18f8d34fb3d
Show More
special_date_index.rhtml
33 lines | 1.1 KiB | text/html+ruby | RhtmlLexer
/ app / views / wiki / special_date_index.rhtml
Jean-Philippe Lang
Ability to watch a wiki or a single wiki page (#413)....
r2666 <div class="contextual">
<%= watcher_tag(@wiki, User.current) %>
</div>
Jean-Philippe Lang
Added wiki index by date....
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? %>
Jean-Philippe Lang
Adds an helper to render other formats download links....
r2331 <% other_formats_links do |f| %>
Jean-Philippe Lang
Fixes links to wiki atom feed (#3581)....
r2697 <%= f.link_to 'Atom', :url => {:controller => 'projects', :action => 'activity', :id => @project, :show_wiki_edits => 1, :key => User.current.rss_key} %>
Jean-Philippe Lang
Adds a permission for exporting wiki pages....
r3257 <%= f.link_to('HTML', :url => {:action => 'special', :page => 'export'}) if User.current.allowed_to?(:export_wiki_pages, @project) %>
Jean-Philippe Lang
Adds an helper to render other formats download links....
r2331 <% end %>
Jean-Philippe Lang
Display links to Atom feeds (closes #496, #750)....
r1171 <% end %>
<% content_for :header_tags do %>
Jean-Philippe Lang
Fixes links to wiki atom feed (#3581)....
r2697 <%= auto_discovery_link_tag(:atom, :controller => 'projects', :action => 'activity', :id => @project, :show_wiki_edits => 1, :format => 'atom', :key => User.current.rss_key) %>
Jean-Philippe Lang
Added wiki index by date....
r757 <% end %>