summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2012-01-03 06:24:43 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2012-01-03 06:24:43 +0000
commit4cc27319967aea16f8c97b5b3eeaaa4273b66290 (patch)
tree36736c84ddc28f791b200a8e13b0a7922fe453e5
parentd5030c8b81b71859a13d88ec1b69d92950f05030 (diff)
downloadredmine-4cc27319967aea16f8c97b5b3eeaaa4273b66290.tar.gz
redmine-4cc27319967aea16f8c97b5b3eeaaa4273b66290.zip
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
-rw-r--r--app/views/wiki/index.html.erb14
1 files changed, 11 insertions, 3 deletions
diff --git a/app/views/wiki/index.html.erb b/app/views/wiki/index.html.erb
index 96c04e974..e89513906 100644
--- a/app/views/wiki/index.html.erb
+++ b/app/views/wiki/index.html.erb
@@ -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 %>