mirror of
https://github.com/redmine/redmine.git
synced 2025-12-16 05:20:28 +01:00
Patch by Felix Gliesche. git-svn-id: http://svn.redmine.org/redmine/trunk@17570 e93f8b46-1217-0410-a6f0-8f06a7374b81
26 lines
820 B
Plaintext
26 lines
820 B
Plaintext
<div class="contextual">
|
|
<%= link_to_attachment @attachment, :text => "#{l(:button_download)} (#{number_to_human_size(@attachment.filesize)})", :download => true, :class => 'icon icon-download' -%>
|
|
</div>
|
|
|
|
<h2>
|
|
<%= safe_join([link_to_attachment_container(@attachment.container), @attachment.filename].compact, ' » ') %>
|
|
</h2>
|
|
|
|
<div class="attachments">
|
|
<p><%= "#{@attachment.description} - " unless @attachment.description.blank? %>
|
|
<span class="author"><%= link_to_user(@attachment.author) %>, <%= format_time(@attachment.created_on) %></span></p>
|
|
</div>
|
|
<div class="filecontent-container">
|
|
<%= yield %>
|
|
</div>
|
|
|
|
<span class="pagination filepreview">
|
|
<%= render_pagination %>
|
|
</span>
|
|
|
|
<% html_title @attachment.filename %>
|
|
|
|
<% content_for :header_tags do -%>
|
|
<%= stylesheet_link_tag "scm" -%>
|
|
<% end -%>
|