Commit 3bd06d55 authored by Andrey Vakarev's avatar Andrey Vakarev

Remove trailing whitespaces and trailing lines

parent 7e0726b1
......@@ -85,9 +85,7 @@
width:300px;
}
:javascript
$('select#user_ids').chosen();
$('select#repo_access').chosen();
$('select#project_access').chosen();
......@@ -25,4 +25,3 @@
$('select#team_member_project_id').chosen();
$('select#team_member_repo_access').chosen();
$('select#team_member_project_access').chosen();
......@@ -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();
......@@ -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
......@@ -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();
......
......@@ -31,7 +31,6 @@
%h4 Diff
= render "commits/diffs", :diffs => @diffs
:javascript
$(function() {
var availableTags = #{@project.heads.map(&:name).to_json};
......
......@@ -27,4 +27,3 @@
- else
- event.commits.each do |commit|
= render "events/commit", :commit => commit, :project => project
......@@ -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"
......@@ -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"
......
......@@ -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)
......@@ -12,5 +12,3 @@
%pre= @key.key
.actions
= link_to 'Remove', @key, :confirm => 'Are you sure?', :method => :delete, :class => "btn danger delete-key"
......@@ -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?
......
......@@ -30,7 +30,6 @@
.controls
.datepicker
.form-actions
- if @milestone.new_record?
= f.submit 'Create milestone', :class => "primary btn"
......
......@@ -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"
......@@ -27,4 +27,3 @@
= link_to edit_project_path(@project), :class => "stat-tab tab " do
%i.icon-edit
Edit
......@@ -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();
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment