Uncheck notify team checkbox by default

5-0-stable
Dmitriy Zaporozhets 2013-03-19 09:38:33 +02:00
parent e68955b4fc
commit 1752c6dc8b
2 changed files with 6 additions and 3 deletions

View File

@ -284,6 +284,9 @@ ul.notes {
margin-top: 8px;
margin-left: 15px;
@extend .pull-left;
width: 35%;
}
.js-notify-commit-author {
float: left;
}
}

View File

@ -28,12 +28,12 @@
.note-form-option
= label_tag :notify do
= check_box_tag :notify, 1, !@note.for_commit?
= check_box_tag :notify, 1, false
%span.light Notify team via email
.js-notify-commit-author
= label_tag :notify_author do
= check_box_tag :notify_author, 1 , @note.for_commit?
= check_box_tag :notify_author, 1 , false
%span.light Notify commit author
.note-form-option
%a.choose-btn.btn.btn-small.js-choose-note-attachment-button