##// END OF EJS Templates
dummy commit to run test on CI server...
dummy commit to run test on CI server Tests fail on CI Server, but I don't know the reason. http://www.redmine.org/builds/build_1.2-stable-1.8.7-sqlite3_82.html git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/branches/1.2-stable@7702 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r2601:8887b6f3d335
r7582:310d4c52ced0
Show More
diff.rhtml
17 lines | 662 B | text/html+ruby | RhtmlLexer
Jean-Philippe Lang
Unified diff viewer for attached files with .patch or .diff extension (#1403)....
r1502 <h2><%=h @attachment.filename %></h2>
<div class="attachments">
<p><%= h("#{@attachment.description} - ") unless @attachment.description.blank? %>
<span class="author"><%= @attachment.author %>, <%= format_time(@attachment.created_on) %></span></p>
Jean-Philippe Lang
Appends the filename to the attachment url so that clients that ignore content-disposition http header get the real filename (#1649)....
r1669 <p><%= link_to_attachment @attachment, :text => l(:button_download), :download => true -%>
Jean-Philippe Lang
Unified diff viewer for attached files with .patch or .diff extension (#1403)....
r1502 <span class="size">(<%= number_to_human_size @attachment.filesize %>)</span></p>
</div>
&nbsp;
<%= render :partial => 'common/diff', :locals => {:diff => @diff, :diff_type => @diff_type} %>
Jean-Philippe Lang
Adds the filename to the html title of attachment view....
r2601 <% html_title @attachment.filename %>
Jean-Philippe Lang
Unified diff viewer for attached files with .patch or .diff extension (#1403)....
r1502 <% content_for :header_tags do -%>
<%= stylesheet_link_tag "scm" -%>
<% end -%>