Chris@0:
<%=h @attachment.filename %>
Chris@0:
Chris@0:
Chris@0:
<%= h("#{@attachment.description} - ") unless @attachment.description.blank? %>
Chris@909: <%= link_to_user(@attachment.author) %>, <%= format_time(@attachment.created_on) %>
Chris@0:
<%= link_to_attachment @attachment, :text => l(:button_download), :download => true -%>
Chris@0: (<%= number_to_human_size @attachment.filesize %>)
Chris@0:
Chris@1115: <%= form_tag({}, :method => 'get') do %>
Chris@1115:
Chris@1115: <%= l(:label_view_diff) %>:
Chris@1115:
Chris@1115:
Chris@1115:
Chris@909: <% end %>
Chris@1115: <%= render :partial => 'common/diff', :locals => {:diff => @diff, :diff_type => @diff_type, :diff_style => nil} %>
Chris@0:
Chris@0: <% html_title @attachment.filename %>
Chris@0:
Chris@0: <% content_for :header_tags do -%>
Chris@0: <%= stylesheet_link_tag "scm" -%>
Chris@0: <% end -%>