Mercurial > hg > soundsoftware-site
diff .svn/pristine/e4/e45d0f01136e76ca9de552ead8c4d0d26e3695d4.svn-base @ 1295:622f24f53b42 redmine-2.3
Update to Redmine SVN revision 11972 on 2.3-stable branch
author | Chris Cannam |
---|---|
date | Fri, 14 Jun 2013 09:02:21 +0100 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/.svn/pristine/e4/e45d0f01136e76ca9de552ead8c4d0d26e3695d4.svn-base Fri Jun 14 09:02:21 2013 +0100 @@ -0,0 +1,36 @@ +<div class="contextual"> +<%= watcher_link(@wiki, User.current) %> +</div> + +<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 h(page.pretty_title), :action => 'show', :id => page.title, :project_id => page.project %></li> +<% end %> +</ul> +<% end %> + +<% content_for :sidebar do %> + <%= render :partial => 'sidebar' %> +<% end %> + +<% unless @pages.empty? %> +<% other_formats_links do |f| %> + <%= f.link_to 'Atom', :url => {:controller => 'activities', :action => 'index', :id => @project, :show_wiki_edits => 1, :key => User.current.rss_key} %> + <% if User.current.allowed_to?(:export_wiki_pages, @project) %> + <%= f.link_to('PDF', :url => {:action => 'export', :format => 'pdf'}) %> + <%= f.link_to('HTML', :url => {:action => 'export'}) %> + <% end %> +<% end %> +<% end %> + +<% content_for :header_tags do %> +<%= auto_discovery_link_tag(:atom, :controller => 'activities', :action => 'index', :id => @project, :show_wiki_edits => 1, :format => 'atom', :key => User.current.rss_key) %> +<% end %>