##// END OF EJS Templates
replace tabs to spaces at app/views/wiki/index.html.erb...
Toshi MARUYAMA -
r8623:bcef0de43bfd
parent child
Show More
@@ -1,35 +1,35
1 <div class="contextual">
1 <div class="contextual">
2 <%= watcher_tag(@wiki, User.current) %>
2 <%= watcher_tag(@wiki, User.current) %>
3 </div>
3 </div>
4
4
5 <h2><%= l(:label_index_by_title) %></h2>
5 <h2><%= l(:label_index_by_title) %></h2>
6
6
7 <% if @pages.empty? %>
7 <% if @pages.empty? %>
8 <p class="nodata"><%= l(:label_no_data) %></p>
8 <p class="nodata"><%= l(:label_no_data) %></p>
9 <% end %>
9 <% end %>
10
10
11 <%= render_page_hierarchy(@pages_by_parent_id, nil, :timestamp => true) %>
11 <%= render_page_hierarchy(@pages_by_parent_id, nil, :timestamp => true) %>
12
12
13 <% content_for :sidebar do %>
13 <% content_for :sidebar do %>
14 <%= render :partial => 'sidebar' %>
14 <%= render :partial => 'sidebar' %>
15 <% end %>
15 <% end %>
16
16
17 <% unless @pages.empty? %>
17 <% unless @pages.empty? %>
18 <% other_formats_links do |f| %>
18 <% other_formats_links do |f| %>
19 <%= f.link_to 'Atom',
19 <%= f.link_to 'Atom',
20 :url => {:controller => 'activities', :action => 'index',
20 :url => {:controller => 'activities', :action => 'index',
21 :id => @project, :show_wiki_edits => 1,
21 :id => @project, :show_wiki_edits => 1,
22 :key => User.current.rss_key} %>
22 :key => User.current.rss_key} %>
23 <% if User.current.allowed_to?(:export_wiki_pages, @project) %>
23 <% if User.current.allowed_to?(:export_wiki_pages, @project) %>
24 <%= f.link_to('PDF', :url => {:action => 'export', :format => 'pdf'}) %>
24 <%= f.link_to('PDF', :url => {:action => 'export', :format => 'pdf'}) %>
25 <%= f.link_to('HTML', :url => {:action => 'export'}) %>
25 <%= f.link_to('HTML', :url => {:action => 'export'}) %>
26 <% end %>
26 <% end %>
27 <% end %>
27 <% end %>
28 <% end %>
28 <% end %>
29
29
30 <% content_for :header_tags do %>
30 <% content_for :header_tags do %>
31 <%= auto_discovery_link_tag(
31 <%= auto_discovery_link_tag(
32 :atom, :controller => 'activities', :action => 'index',
32 :atom, :controller => 'activities', :action => 'index',
33 :id => @project, :show_wiki_edits => 1, :format => 'atom',
33 :id => @project, :show_wiki_edits => 1, :format => 'atom',
34 :key => User.current.rss_key) %>
34 :key => User.current.rss_key) %>
35 <% end %>
35 <% end %>
General Comments 0
You need to be logged in to leave comments. Login now