Mercurial > hg > soundsoftware-site
comparison .svn/pristine/e4/e45d0f01136e76ca9de552ead8c4d0d26e3695d4.svn-base @ 1298:4f746d8966dd redmine_2.3_integration
Merge from redmine-2.3 branch to create new branch redmine-2.3-integration
author | Chris Cannam |
---|---|
date | Fri, 14 Jun 2013 09:28:30 +0100 |
parents | 622f24f53b42 |
children |
comparison
equal
deleted
inserted
replaced
1297:0a574315af3e | 1298:4f746d8966dd |
---|---|
1 <div class="contextual"> | |
2 <%= watcher_link(@wiki, User.current) %> | |
3 </div> | |
4 | |
5 <h2><%= l(:label_index_by_date) %></h2> | |
6 | |
7 <% if @pages.empty? %> | |
8 <p class="nodata"><%= l(:label_no_data) %></p> | |
9 <% end %> | |
10 | |
11 <% @pages_by_date.keys.sort.reverse.each do |date| %> | |
12 <h3><%= format_date(date) %></h3> | |
13 <ul> | |
14 <% @pages_by_date[date].each do |page| %> | |
15 <li><%= link_to h(page.pretty_title), :action => 'show', :id => page.title, :project_id => page.project %></li> | |
16 <% end %> | |
17 </ul> | |
18 <% end %> | |
19 | |
20 <% content_for :sidebar do %> | |
21 <%= render :partial => 'sidebar' %> | |
22 <% end %> | |
23 | |
24 <% unless @pages.empty? %> | |
25 <% other_formats_links do |f| %> | |
26 <%= f.link_to 'Atom', :url => {:controller => 'activities', :action => 'index', :id => @project, :show_wiki_edits => 1, :key => User.current.rss_key} %> | |
27 <% if User.current.allowed_to?(:export_wiki_pages, @project) %> | |
28 <%= f.link_to('PDF', :url => {:action => 'export', :format => 'pdf'}) %> | |
29 <%= f.link_to('HTML', :url => {:action => 'export'}) %> | |
30 <% end %> | |
31 <% end %> | |
32 <% end %> | |
33 | |
34 <% content_for :header_tags do %> | |
35 <%= auto_discovery_link_tag(:atom, :controller => 'activities', :action => 'index', :id => @project, :show_wiki_edits => 1, :format => 'atom', :key => User.current.rss_key) %> | |
36 <% end %> |