annotate app/views/wiki/special_page_index.rhtml @ 36:de76cd3e8c8e
cc-branches
* Probably abortive experiments in extracting the branch from Hg
author |
Chris Cannam <chris.cannam@soundsoftware.ac.uk> |
date |
Wed, 20 Oct 2010 10:07:29 +0100 |
parents |
40f7cfd4df19 |
children |
|
rev |
line source |
Chris@0
|
1 <div class="contextual">
|
Chris@0
|
2 <%= watcher_tag(@wiki, User.current) %>
|
Chris@0
|
3 </div>
|
Chris@0
|
4
|
Chris@0
|
5 <h2><%= l(:label_index_by_title) %></h2>
|
Chris@0
|
6
|
Chris@0
|
7 <% if @pages.empty? %>
|
Chris@0
|
8 <p class="nodata"><%= l(:label_no_data) %></p>
|
Chris@0
|
9 <% end %>
|
Chris@0
|
10
|
Chris@0
|
11 <%= render_page_hierarchy(@pages_by_parent_id) %>
|
Chris@0
|
12
|
Chris@0
|
13 <% content_for :sidebar do %>
|
Chris@0
|
14 <%= render :partial => 'sidebar' %>
|
Chris@0
|
15 <% end %>
|
Chris@0
|
16
|
Chris@0
|
17 <% unless @pages.empty? %>
|
Chris@0
|
18 <% other_formats_links do |f| %>
|
chris@22
|
19 <%= f.link_to 'Atom', :url => {:controller => 'activities', :action => 'index', :id => @project, :show_wiki_edits => 1, :key => User.current.rss_key} %>
|
Chris@0
|
20 <%= f.link_to('HTML', :url => {:action => 'special', :page => 'export'}) if User.current.allowed_to?(:export_wiki_pages, @project) %>
|
Chris@0
|
21 <% end %>
|
Chris@0
|
22 <% end %>
|
Chris@0
|
23
|
Chris@0
|
24 <% content_for :header_tags do %>
|
chris@22
|
25 <%= auto_discovery_link_tag(:atom, :controller => 'activities', :action => 'index', :id => @project, :show_wiki_edits => 1, :format => 'atom', :key => User.current.rss_key) %>
|
Chris@0
|
26 <% end %>
|