To check out this repository please hg clone the following URL, or open the URL using EasyMercurial or your preferred Mercurial client.
root / app / views / wiki / index.html.erb @ 1298:4f746d8966dd
History | View | Annotate | Download (1.08 KB)
| 1 | 37:94944d00e43c | chris | <div class="contextual"> |
|---|---|---|---|
| 2 | 1295:622f24f53b42 | Chris | <%= watcher_link(@wiki, User.current) %>
|
| 3 | 37:94944d00e43c | chris | </div>
|
| 4 | |||
| 5 | <h2><%= l(:label_index_by_title) %></h2> |
||
| 6 | |||
| 7 | <% if @pages.empty? %>
|
||
| 8 | <p class="nodata"><%= l(:label_no_data) %></p> |
||
| 9 | <% end %>
|
||
| 10 | |||
| 11 | 441:cbce1fd3b1b7 | Chris | <%= render_page_hierarchy(@pages_by_parent_id, nil, :timestamp => true) %>
|
| 12 | 37:94944d00e43c | chris | |
| 13 | <% content_for :sidebar do %>
|
||
| 14 | <%= render :partial => 'sidebar' %>
|
||
| 15 | <% end %>
|
||
| 16 | |||
| 17 | <% unless @pages.empty? %>
|
||
| 18 | <% other_formats_links do |f| %>
|
||
| 19 | 1115:433d4f72a19b | Chris | <%= f.link_to 'Atom',
|
| 20 | :url => {:controller => 'activities', :action => 'index',
|
||
| 21 | :id => @project, :show_wiki_edits => 1,
|
||
| 22 | :key => User.current.rss_key} %>
|
||
| 23 | <% if User.current.allowed_to?(:export_wiki_pages, @project) %>
|
||
| 24 | <%= f.link_to('PDF', :url => {:action => 'export', :format => 'pdf'}) %>
|
||
| 25 | <%= f.link_to('HTML', :url => {:action => 'export'}) %>
|
||
| 26 | <% end %>
|
||
| 27 | 37:94944d00e43c | chris | <% end %>
|
| 28 | <% end %>
|
||
| 29 | |||
| 30 | <% content_for :header_tags do %>
|
||
| 31 | 1115:433d4f72a19b | Chris | <%= auto_discovery_link_tag(
|
| 32 | :atom, :controller => 'activities', :action => 'index',
|
||
| 33 | :id => @project, :show_wiki_edits => 1, :format => 'atom',
|
||
| 34 | :key => User.current.rss_key) %>
|
||
| 35 | 37:94944d00e43c | chris | <% end %> |