Project

General

Profile

Feature #22058 » 0002-Whitespace-only-change.patch

Jan from Planio www.plan.io, 2016-02-17 10:47

View differences:

app/views/attachments/diff.html.erb
1 1
<%= render :layout => 'layouts/file' do %>
2
<%= form_tag({}, :method => 'get') do %>
3
  <p>
4
    <%= l(:label_view_diff) %>:
5
    <label><%= radio_button_tag 'type', 'inline', @diff_type != 'sbs', :onchange => "this.form.submit()" %> <%= l(:label_diff_inline) %></label>
6
    <label><%= radio_button_tag 'type', 'sbs', @diff_type == 'sbs', :onchange => "this.form.submit()" %> <%= l(:label_diff_side_by_side) %></label>
7
  </p>
8
<% end %>
9
<%= render :partial => 'common/diff', :locals => {:diff => @diff, :diff_type => @diff_type, :diff_style => nil} %>
2
  <%= form_tag({}, :method => 'get') do %>
3
    <p>
4
      <%= l(:label_view_diff) %>:
5
      <label><%= radio_button_tag 'type', 'inline', @diff_type != 'sbs', :onchange => "this.form.submit()" %> <%= l(:label_diff_inline) %></label>
6
      <label><%= radio_button_tag 'type', 'sbs', @diff_type == 'sbs', :onchange => "this.form.submit()" %> <%= l(:label_diff_side_by_side) %></label>
7
    </p>
8
  <% end %>
9
  <%= render :partial => 'common/diff', :locals => {:diff => @diff, :diff_type => @diff_type, :diff_style => nil} %>
10 10
<% end %>
app/views/attachments/file.html.erb
1 1
<%= render :layout => 'layouts/file' do %>
2
&nbsp;
3
<%= render :partial => 'common/file', :locals => {:content => @content, :filename => @attachment.filename} %>
2
  &nbsp;
3
  <%= render :partial => 'common/file', :locals => {:content => @content, :filename => @attachment.filename} %>
4 4
<% end %>
(3-3/6)