diff .svn/pristine/d7/d71b9b00f65094cf8529cb2de333f24542a6b92b.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
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/.svn/pristine/d7/d71b9b00f65094cf8529cb2de333f24542a6b92b.svn-base	Fri Jun 14 09:28:30 2013 +0100
@@ -0,0 +1,35 @@
+<div class="contextual">
+<%= watcher_link(@wiki, User.current) %>
+</div>
+
+<h2><%= l(:label_index_by_title) %></h2>
+
+<% if @pages.empty? %>
+<p class="nodata"><%= l(:label_no_data) %></p>
+<% end %>
+
+<%= render_page_hierarchy(@pages_by_parent_id, nil, :timestamp => true) %>
+
+<% 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 %>