Mercurial > hg > soundsoftware-site
annotate app/views/wiki/.svn/text-base/index.html.erb.svn-base @ 338:89b3acb833d1 live
Merge
author | Chris Cannam <chris.cannam@soundsoftware.ac.uk> |
---|---|
date | Wed, 30 Mar 2011 13:37:44 +0100 |
parents | 94944d00e43c |
children | cbce1fd3b1b7 |
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_title) %></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 <%= render_page_hierarchy(@pages_by_parent_id) %> |
chris@37 | 12 |
chris@37 | 13 <% content_for :sidebar do %> |
chris@37 | 14 <%= render :partial => 'sidebar' %> |
chris@37 | 15 <% end %> |
chris@37 | 16 |
chris@37 | 17 <% unless @pages.empty? %> |
chris@37 | 18 <% other_formats_links do |f| %> |
chris@37 | 19 <%= f.link_to 'Atom', :url => {:controller => 'activities', :action => 'show', :id => @project, :show_wiki_edits => 1, :key => User.current.rss_key} %> |
chris@37 | 20 <%= f.link_to('HTML', :url => {:action => 'export'}) if User.current.allowed_to?(:export_wiki_pages, @project) %> |
chris@37 | 21 <% end %> |
chris@37 | 22 <% end %> |
chris@37 | 23 |
chris@37 | 24 <% content_for :header_tags do %> |
chris@37 | 25 <%= auto_discovery_link_tag(:atom, :controller => 'activities', :action => 'show', :id => @project, :show_wiki_edits => 1, :format => 'atom', :key => User.current.rss_key) %> |
chris@37 | 26 <% end %> |