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

@ -14,12 +14,12 @@
.span4
%h5 Notify via email:
.clearfix
= label_tag :notify do
= label_tag :notify do
= check_box_tag :notify, 1, @note.noteable_type != "Commit"
%span Project team
- if @note.notify_only_author?(current_user)
= label_tag :notify_author do
= label_tag :notify_author do
= check_box_tag :notify_author, 1 , @note.noteable_type == "Commit"
%span Commit author
.span8

View file

@ -11,7 +11,7 @@
:plain
NoteList.setContent(#{@notes.last.id}, #{@notes.first.id}, "#{escape_javascript(render(:partial => 'notes/notes_list'))}");
- else
- else
- if params[:first_id]
:plain
NoteList.append(#{params[:first_id]}, "");

View file

@ -15,19 +15,19 @@
= f.text_area :note, :size => 255
%h5 Notify via email:
.clearfix
= label_tag :notify do
= label_tag :notify do
= check_box_tag :notify, 1, @note.noteable_type != "Commit"
%span Project team
- if @note.notify_only_author?(current_user)
= label_tag :notify_author do
= label_tag :notify_author do
= check_box_tag :notify_author, 1 , @note.noteable_type == "Commit"
%span Commit author
.actions
= f.submit 'Add note', :class => "btn primary", :id => "submit_note"
= link_to "Close", "#", :class => "btn hide-button"
:javascript
:javascript
$(function(){
$(".per_line_form .hide-button").bind("click", function(){
$('.per_line_form').hide();

View file

@ -1,5 +1,5 @@
%tr.line_notes_row
%td{:colspan => 3}
%td{:colspan => 3}
%ul
= render :partial => "notes/show", :locals => {:note => note}

View file

@ -1,3 +1,3 @@
%tr.line_notes_row.reply
%td{:colspan => 3}
= link_to "Reply", "#", :class => "line_note_reply_link", "line_code" => line_code, :title => "Add note for this line"
%td{:colspan => 3}
= link_to "Reply", "#", :class => "line_note_reply_link", "line_code" => line_code, :title => "Add note for this line"

View file

@ -1,6 +1,6 @@
- if @note.line_code
= render "create_line", :note => @note
- else
- else
= render "create_common", :note => @note
-# Enable submit button