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:
1 parent
bf76988ebc
commit
f1aa0df326
20 files changed
+99
-77
No files matched your search
@@ -15,10 +15,9 @@
|
||||
<%= render :partial => 'common/diff', :locals => {:diff => @diff, :diff_type => @diff_type} %>
|
||||
<% end -%>
|
||||
|
||||
<p class="other-formats">
|
||||
<%= l(:label_export_to) %>
|
||||
<span><%= link_to 'Unified diff', params.merge(:format => 'diff') %></span>
|
||||
</p>
|
||||
<% other_formats_links do |f| %>
|
||||
<%= f.link_to 'Diff', :url => params, :caption => 'Unified diff' %>
|
||||
<% end %>
|
||||
|
||||
<% html_title(with_leading_slash(@path), 'Diff') -%>
|
||||
|
||||
|
||||
Reference in new issue
Block a user