blob: 4a17bacd762e712413e70fa10d0c5f0a423f8b41 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
<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 -%>
|