summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2016-04-11 19:15:47 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2016-04-11 19:15:47 +0000
commitc75157ac4ae830c309b397b43c732a38fe290faf (patch)
tree37a9133b0bf776ddbebf1727bd9fc520c864df06
parent00e37d5ca735ac035e7932ed33eb894459850920 (diff)
downloadredmine-c75157ac4ae830c309b397b43c732a38fe290faf.tar.gz
redmine-c75157ac4ae830c309b397b43c732a38fe290faf.zip
Whitespace only change (#22058).
Patch by Jan Schulz-Hofen. git-svn-id: http://svn.redmine.org/redmine/trunk@15323 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r--app/views/attachments/diff.html.erb16
-rw-r--r--app/views/attachments/file.html.erb4
2 files changed, 10 insertions, 10 deletions
diff --git a/app/views/attachments/diff.html.erb b/app/views/attachments/diff.html.erb
index 5f5f4d7eb..0bd802df2 100644
--- a/app/views/attachments/diff.html.erb
+++ b/app/views/attachments/diff.html.erb
@@ -1,10 +1,10 @@
<%= render :layout => 'layouts/file' do %>
-<%= 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} %>
+ <%= 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} %>
<% end %>
diff --git a/app/views/attachments/file.html.erb b/app/views/attachments/file.html.erb
index e69124923..af5ea78dc 100644
--- a/app/views/attachments/file.html.erb
+++ b/app/views/attachments/file.html.erb
@@ -1,4 +1,4 @@
<%= render :layout => 'layouts/file' do %>
-&nbsp;
-<%= render :partial => 'common/file', :locals => {:content => @content, :filename => @attachment.filename} %>
+ &nbsp;
+ <%= render :partial => 'common/file', :locals => {:content => @content, :filename => @attachment.filename} %>
<% end %>