Chris@909:

<%=h @attachment.filename %>

Chris@909: Chris@909:
Chris@909:

<%= h("#{@attachment.description} - ") unless @attachment.description.blank? %> Chris@909: <%= link_to_user(@attachment.author) %>, <%= format_time(@attachment.created_on) %>

Chris@909:

<%= link_to_attachment @attachment, :text => l(:button_download), :download => true -%> Chris@909: (<%= number_to_human_size @attachment.filesize %>)

Chris@909: Chris@909:
Chris@909:   Chris@909: <%= render :partial => 'common/file', :locals => {:content => @content, :filename => @attachment.filename} %> Chris@909: Chris@909: <% html_title @attachment.filename %> Chris@909: Chris@909: <% content_for :header_tags do -%> Chris@909: <%= stylesheet_link_tag "scm" -%> Chris@909: <% end -%>