code layout clean up app/views/wiki/index.html.erb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8480 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
d5030c8b81
commit
4cc2731996
|
@ -16,11 +16,19 @@
|
|||
|
||||
<% unless @pages.empty? %>
|
||||
<% other_formats_links do |f| %>
|
||||
<%= f.link_to 'Atom', :url => {:controller => 'activities', :action => 'index', :id => @project, :show_wiki_edits => 1, :key => User.current.rss_key} %>
|
||||
<%= f.link_to('HTML', :url => {:action => 'export'}) if User.current.allowed_to?(:export_wiki_pages, @project) %>
|
||||
<%= f.link_to 'Atom',
|
||||
:url => {:controller => 'activities', :action => 'index',
|
||||
:id => @project, :show_wiki_edits => 1,
|
||||
:key => User.current.rss_key} %>
|
||||
<%= f.link_to('HTML',
|
||||
:url => {:action => 'export'}
|
||||
) if User.current.allowed_to?(:export_wiki_pages, @project) %>
|
||||
<% end %>
|
||||
<% end %>
|
||||
|
||||
<% content_for :header_tags do %>
|
||||
<%= auto_discovery_link_tag(:atom, :controller => 'activities', :action => 'index', :id => @project, :show_wiki_edits => 1, :format => 'atom', :key => User.current.rss_key) %>
|
||||
<%= auto_discovery_link_tag(
|
||||
:atom, :controller => 'activities', :action => 'index',
|
||||
:id => @project, :show_wiki_edits => 1, :format => 'atom',
|
||||
:key => User.current.rss_key) %>
|
||||
<% end %>
|
||||
|
|
Loading…
Reference in New Issue