annotate app/views/wiki/.svn/text-base/date_index.html.erb.svn-base @ 441:cbce1fd3b1b7
redmine-1.2
Update to Redmine 1.2-stable branch (Redmine SVN rev 6000)
author |
Chris Cannam |
date |
Mon, 06 Jun 2011 14:24:13 +0100 |
parents |
94944d00e43c |
children |
|
rev |
line source |
chris@37
|
1 <div class="contextual">
|
chris@37
|
2 <%= watcher_tag(@wiki, User.current) %>
|
chris@37
|
3 </div>
|
chris@37
|
4
|
chris@37
|
5 <h2><%= l(:label_index_by_date) %></h2>
|
chris@37
|
6
|
chris@37
|
7 <% if @pages.empty? %>
|
chris@37
|
8 <p class="nodata"><%= l(:label_no_data) %></p>
|
chris@37
|
9 <% end %>
|
chris@37
|
10
|
chris@37
|
11 <% @pages_by_date.keys.sort.reverse.each do |date| %>
|
chris@37
|
12 <h3><%= format_date(date) %></h3>
|
chris@37
|
13 <ul>
|
chris@37
|
14 <% @pages_by_date[date].each do |page| %>
|
chris@37
|
15 <li><%= link_to page.pretty_title, :action => 'show', :id => page.title, :project_id => page.project %></li>
|
chris@37
|
16 <% end %>
|
chris@37
|
17 </ul>
|
chris@37
|
18 <% end %>
|
chris@37
|
19
|
chris@37
|
20 <% content_for :sidebar do %>
|
chris@37
|
21 <%= render :partial => 'sidebar' %>
|
chris@37
|
22 <% end %>
|
chris@37
|
23
|
chris@37
|
24 <% unless @pages.empty? %>
|
chris@37
|
25 <% other_formats_links do |f| %>
|
Chris@441
|
26 <%= f.link_to 'Atom', :url => {:controller => 'activities', :action => 'index', :id => @project, :show_wiki_edits => 1, :key => User.current.rss_key} %>
|
chris@37
|
27 <%= f.link_to('HTML', :url => {:action => 'export'}) if User.current.allowed_to?(:export_wiki_pages, @project) %>
|
chris@37
|
28 <% end %>
|
chris@37
|
29 <% end %>
|
chris@37
|
30
|
chris@37
|
31 <% content_for :header_tags do %>
|
Chris@441
|
32 <%= auto_discovery_link_tag(:atom, :controller => 'activities', :action => 'index', :id => @project, :show_wiki_edits => 1, :format => 'atom', :key => User.current.rss_key) %>
|
chris@37
|
33 <% end %>
|