Mercurial > hg > soundsoftware-site
view .svn/pristine/77/77ec4500ba84dc62ffa71710497a489cc1dddafb.svn-base @ 1459:cf78a7ade302 luisf
Merge from branch "bug_794"
author | luisf <luis.figueira@eecs.qmul.ac.uk> |
---|---|
date | Mon, 11 Nov 2013 18:25:50 +0000 |
parents | 038ba2d95de8 |
children |
line wrap: on
line source
<h2><%=h @attachment.filename %></h2> <div class="attachments"> <p><%= h("#{@attachment.description} - ") unless @attachment.description.blank? %> <span class="author"><%= link_to_user(@attachment.author) %>, <%= format_time(@attachment.created_on) %></span></p> <p><%= link_to_attachment @attachment, :text => l(:button_download), :download => true -%> <span class="size">(<%= number_to_human_size @attachment.filesize %>)</span></p> </div> <%= form_tag({}, :method => 'get') do %> <p> <%= l(:label_view_diff) %>: <label><%= radio_button_tag 'type', 'inline', @diff_type != 'sbs', :onchange => "this.form.submit()" %> <%= l(:label_diff_inline) %></label> <label><%= radio_button_tag 'type', 'sbs', @diff_type == 'sbs', :onchange => "this.form.submit()" %> <%= l(:label_diff_side_by_side) %></label> </p> <% end %> <%= render :partial => 'common/diff', :locals => {:diff => @diff, :diff_type => @diff_type, :diff_style => nil} %> <% html_title @attachment.filename %> <% content_for :header_tags do -%> <%= stylesheet_link_tag "scm" -%> <% end -%>