Mercurial > hg > soundsoftware-site
annotate .svn/pristine/c2/c2e258465570d1130ed9de641813c1b2b4542d50.svn-base @ 1519:afce8026aaeb redmine-2.4-integration
Merge from branch "live"
author | Chris Cannam |
---|---|
date | Tue, 09 Sep 2014 09:34:53 +0100 |
parents | cbb26bc654de |
children |
rev | line source |
---|---|
Chris@909 | 1 <h2><%=h @attachment.filename %></h2> |
Chris@909 | 2 |
Chris@909 | 3 <div class="attachments"> |
Chris@909 | 4 <p><%= h("#{@attachment.description} - ") unless @attachment.description.blank? %> |
Chris@909 | 5 <span class="author"><%= link_to_user(@attachment.author) %>, <%= format_time(@attachment.created_on) %></span></p> |
Chris@909 | 6 <p><%= link_to_attachment @attachment, :text => l(:button_download), :download => true -%> |
Chris@909 | 7 <span class="size">(<%= number_to_human_size @attachment.filesize %>)</span></p> |
Chris@909 | 8 |
Chris@909 | 9 </div> |
Chris@909 | 10 |
Chris@909 | 11 <%= render :partial => 'common/file', :locals => {:content => @content, :filename => @attachment.filename} %> |
Chris@909 | 12 |
Chris@909 | 13 <% html_title @attachment.filename %> |
Chris@909 | 14 |
Chris@909 | 15 <% content_for :header_tags do -%> |
Chris@909 | 16 <%= stylesheet_link_tag "scm" -%> |
Chris@909 | 17 <% end -%> |