Commit 1752c6dc8b755bc2fbff2757e8549521b0823048

Authored by Dmitriy Zaporozhets
1 parent e68955b4

Uncheck notify team checkbox by default

app/assets/stylesheets/sections/notes.scss
@@ -284,6 +284,9 @@ ul.notes { @@ -284,6 +284,9 @@ ul.notes {
284 margin-top: 8px; 284 margin-top: 8px;
285 margin-left: 15px; 285 margin-left: 15px;
286 @extend .pull-left; 286 @extend .pull-left;
287 - width: 35%; 287 + }
  288 +
  289 + .js-notify-commit-author {
  290 + float: left;
288 } 291 }
289 } 292 }
app/views/notes/_form.html.haml
@@ -28,12 +28,12 @@ @@ -28,12 +28,12 @@
28 28
29 .note-form-option 29 .note-form-option
30 = label_tag :notify do 30 = label_tag :notify do
31 - = check_box_tag :notify, 1, !@note.for_commit? 31 + = check_box_tag :notify, 1, false
32 %span.light Notify team via email 32 %span.light Notify team via email
33 33
34 .js-notify-commit-author 34 .js-notify-commit-author
35 = label_tag :notify_author do 35 = label_tag :notify_author do
36 - = check_box_tag :notify_author, 1 , @note.for_commit? 36 + = check_box_tag :notify_author, 1 , false
37 %span.light Notify commit author 37 %span.light Notify commit author
38 .note-form-option 38 .note-form-option
39 %a.choose-btn.btn.btn-small.js-choose-note-attachment-button 39 %a.choose-btn.btn.btn-small.js-choose-note-attachment-button