Remove trailing whitespaces and trailing lines

This commit is contained in:
Andrey Vakarev 2012-06-04 01:37:27 +03:00
parent 7e0726b1da
commit 3bd06d55e0
80 changed files with 261 additions and 296 deletions

View file

@ -85,9 +85,7 @@
width:300px;
}
:javascript
$('select#user_ids').chosen();
$('select#repo_access').chosen();
$('select#project_access').chosen();

View file

@ -25,4 +25,3 @@
$('select#team_member_project_id').chosen();
$('select#team_member_repo_access').chosen();
$('select#team_member_project_access').chosen();

View file

@ -53,7 +53,6 @@
%td
= @admin_user.twitter
%br
%h3 Add User to Projects
%br
@ -104,9 +103,7 @@
width:300px;
}
:javascript
$('select#project_ids').chosen();
$('select#repo_access').chosen();
$('select#project_access').chosen();

View file

@ -7,13 +7,11 @@
But if you still want to see diff
= link_to "click this link", project_commit_path(@project, @commit.id, :force_show_diff => true), :class => "dark"
%p.cgray
Showing #{pluralize(diffs.count, "changed file")}
.file_stats
= render "commits/diff_head", :diffs => diffs
- unless @suppress_diff
- diffs.each_with_index do |diff, i|
- next if diff.diff.empty?
@ -39,4 +37,3 @@
- else
%p
%center No preview for this file type

View file

@ -27,7 +27,6 @@
= link_to project_commits_path(@project, :atom, { :private_token => current_user.private_token, :ref => @ref }), :title => "Feed" do
= image_tag "rss_ui.png", :title => "feed"
:javascript
$(function(){
$('.project-refs-select').chosen();

View file

@ -31,7 +31,6 @@
%h4 Diff
= render "commits/diffs", :diffs => @diffs
:javascript
$(function() {
var availableTags = #{@project.heads.map(&:name).to_json};

View file

@ -27,4 +27,3 @@
- else
- event.commits.each do |commit|
= render "events/commit", :commit => commit, :project => project

View file

@ -40,4 +40,3 @@
%td POST
%td
= link_to 'Remove', project_hook_path(@project, hook), :confirm => 'Are you sure?', :method => :delete, :class => "danger btn small right"

View file

@ -35,8 +35,6 @@
= f.text_area :description, :maxlength => 2000, :class => "xxlarge", :rows => 14
%p.hint Markdown is enabled.
.actions
- if @issue.new_record?
= f.submit 'Submit new issue', :class => "primary btn"

View file

@ -22,11 +22,5 @@
- if issue.upvotes > 0
%span.label.success= "+#{issue.upvotes}"
= link_to project_issue_path(issue.project, issue) do
%p.row_title= truncate(issue.title, :length => 100)

View file

@ -12,5 +12,3 @@
%pre= @key.key
.actions
= link_to 'Remove', @key, :confirm => 'Are you sure?', :method => :delete, :class => "btn danger delete-key"

View file

@ -43,4 +43,3 @@
}
});
});

View file

@ -83,9 +83,6 @@
.alert.alert-info
%strong This merge request already can not be merged. Try to reload page.
= render "merge_requests/commits"
- unless @commits.empty?

View file

@ -30,7 +30,6 @@
.controls
.datepicker
.form-actions
- if @milestone.new_record?
= f.submit 'Create milestone', :class => "primary btn"

View file

@ -65,6 +65,5 @@
= link_to "Add Public Key", new_key_path, :class => "btn small right"
.form-actions
= f.submit 'Save', :class => "btn-primary btn"

View file

@ -27,4 +27,3 @@
= link_to edit_project_path(@project), :class => "stat-tab tab " do
%i.icon-edit
Edit

View file

@ -23,7 +23,6 @@
 
= f.submit 'Protect', :class => "primary btn"
- unless @branches.empty?
%table.admin-table
%thead
@ -48,9 +47,5 @@
- if can? current_user, :admin_project, @project
= link_to 'Unprotect', [@project, branch], :confirm => 'Are you sure?', :method => :delete, :class => "danger btn small"
:javascript
$('select#protected_branch_name').chosen();