annotate app/views/wiki/index.html.erb @ 904:0a8317a50fa0 redmine-1.1

Close obsolete branch redmine-1.1
author Chris Cannam
date Fri, 14 Jan 2011 12:53:21 +0000
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 %>