Mercurial > hg > soundsoftware-site
comparison app/views/attachments/diff.rhtml @ 0:513646585e45
* Import Redmine trunk SVN rev 3859
author | Chris Cannam |
---|---|
date | Fri, 23 Jul 2010 15:52:44 +0100 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:513646585e45 |
---|---|
1 <h2><%=h @attachment.filename %></h2> | |
2 | |
3 <div class="attachments"> | |
4 <p><%= h("#{@attachment.description} - ") unless @attachment.description.blank? %> | |
5 <span class="author"><%= @attachment.author %>, <%= format_time(@attachment.created_on) %></span></p> | |
6 <p><%= link_to_attachment @attachment, :text => l(:button_download), :download => true -%> | |
7 <span class="size">(<%= number_to_human_size @attachment.filesize %>)</span></p> | |
8 | |
9 </div> | |
10 | |
11 <%= render :partial => 'common/diff', :locals => {:diff => @diff, :diff_type => @diff_type} %> | |
12 | |
13 <% html_title @attachment.filename %> | |
14 | |
15 <% content_for :header_tags do -%> | |
16 <%= stylesheet_link_tag "scm" -%> | |
17 <% end -%> |