Adds an helper to render other formats download links.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2333 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang committed 2009-01-29 13:53:17 +00:00
1 parent bf76988ebc
commit f1aa0df326
20 files changed
+99 -77

No files matched your search

+4 -5
View File
@@ -42,11 +42,10 @@
<% end %>
<% end %>
<p class="other-formats">
<%= l(:label_export_to) %>
<span><%= link_to 'HTML', {:page => @page.title, :export => 'html', :version => @content.version}, :class => 'html' %></span>
<span><%= link_to 'TXT', {:page => @page.title, :export => 'txt', :version => @content.version}, :class => 'text' %></span>
</p>
<% other_formats_links do |f| %>
<%= f.link_to 'HTML', :url => {:page => @page.title, :version => @content.version} %>
<%= f.link_to 'TXT', :url => {:page => @page.title, :version => @content.version} %>
<% end %>
<% content_for :header_tags do %>
<%= stylesheet_link_tag 'scm' %>