Sha256: 5916eefed94e30753a0739a9ba393601a959c5c1d73921c6d7979be4bfc833e5

Contents?: true

Size: 1.05 KB

Versions: 34

Compression:

Stored size: 1.05 KB

Contents

<h2><%=h @attachment.filename %></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>
<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 -%>

Version data entries

34 entries across 34 versions & 1 rubygems

Version Path
redmine_extensions-0.0.39 spec/redmine/app/views/attachments/diff.html.erb
redmine_extensions-0.0.38 spec/redmine/app/views/attachments/diff.html.erb
redmine_extensions-0.0.37 spec/redmine/app/views/attachments/diff.html.erb
redmine_extensions-0.1.11 spec/redmine/app/views/attachments/diff.html.erb
redmine_extensions-0.1.10 spec/redmine/app/views/attachments/diff.html.erb
redmine_extensions-0.0.36 spec/redmine/app/views/attachments/diff.html.erb
redmine_extensions-0.0.34 spec/redmine/app/views/attachments/diff.html.erb
redmine_extensions-0.1.09 spec/redmine/app/views/attachments/diff.html.erb
redmine_extensions-0.1.07 spec/redmine/app/views/attachments/diff.html.erb
redmine_extensions-0.1.06 spec/redmine/app/views/attachments/diff.html.erb
redmine_extensions-0.1.05 spec/redmine/app/views/attachments/diff.html.erb
redmine_extensions-0.1.04 spec/redmine/app/views/attachments/diff.html.erb
redmine_extensions-0.1.03 spec/redmine/app/views/attachments/diff.html.erb
redmine_extensions-0.0.33 spec/redmine/app/views/attachments/diff.html.erb
redmine_extensions-0.1.02 spec/redmine/app/views/attachments/diff.html.erb
redmine_extensions-0.1.01 spec/redmine/app/views/attachments/diff.html.erb
redmine_extensions-0.0.29 spec/redmine/app/views/attachments/diff.html.erb
redmine_extensions-0.0.28 spec/redmine/app/views/attachments/diff.html.erb
redmine_extensions-0.0.27 spec/redmine/app/views/attachments/diff.html.erb
redmine_extensions-0.0.24 spec/redmine/app/views/attachments/diff.html.erb