##// END OF EJS Templates
code layout clean up app/views/wiki/index.html.erb...
Toshi MARUYAMA -
r8360:4cc27319967a
parent child
Show More
@@ -16,11 +16,19
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', :url => {:controller => 'activities', :action => 'index', :id => @project, :show_wiki_edits => 1, :key => User.current.rss_key} %>
19 <%= f.link_to 'Atom',
20 <%= f.link_to('HTML', :url => {:action => 'export'}) if User.current.allowed_to?(:export_wiki_pages, @project) %>
20 :url => {:controller => 'activities', :action => 'index',
21 :id => @project, :show_wiki_edits => 1,
22 :key => User.current.rss_key} %>
23 <%= f.link_to('HTML',
24 :url => {:action => 'export'}
25 ) if User.current.allowed_to?(:export_wiki_pages, @project) %>
21 <% end %>
26 <% end %>
22 <% end %>
27 <% end %>
23
28
24 <% content_for :header_tags do %>
29 <% content_for :header_tags do %>
25 <%= auto_discovery_link_tag(:atom, :controller => 'activities', :action => 'index', :id => @project, :show_wiki_edits => 1, :format => 'atom', :key => User.current.rss_key) %>
30 <%= auto_discovery_link_tag(
31 :atom, :controller => 'activities', :action => 'index',
32 :id => @project, :show_wiki_edits => 1, :format => 'atom',
33 :key => User.current.rss_key) %>
26 <% end %>
34 <% end %>
General Comments 0
You need to be logged in to leave comments. Login now