diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-03-19 09:38:33 +0200 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-03-19 09:38:33 +0200 |
commit | 1752c6dc8b755bc2fbff2757e8549521b0823048 (patch) | |
tree | 401647a334902766d313f34aa39e6169f68f8482 /app | |
parent | e68955b4fcea3b85b3838cb50507a9e3dd5acb5c (diff) | |
download | gitlab-ce-1752c6dc8b755bc2fbff2757e8549521b0823048.tar.gz |
Uncheck notify team checkbox by default
Diffstat (limited to 'app')
-rw-r--r-- | app/assets/stylesheets/sections/notes.scss | 5 | ||||
-rw-r--r-- | app/views/notes/_form.html.haml | 4 |
2 files changed, 6 insertions, 3 deletions
diff --git a/app/assets/stylesheets/sections/notes.scss b/app/assets/stylesheets/sections/notes.scss index 4a6d114c306..ae2e1b258d3 100644 --- a/app/assets/stylesheets/sections/notes.scss +++ b/app/assets/stylesheets/sections/notes.scss @@ -284,6 +284,9 @@ ul.notes { margin-top: 8px; margin-left: 15px; @extend .pull-left; - width: 35%; + } + + .js-notify-commit-author { + float: left; } } diff --git a/app/views/notes/_form.html.haml b/app/views/notes/_form.html.haml index eadf5bc65ae..c2bdeafb830 100644 --- a/app/views/notes/_form.html.haml +++ b/app/views/notes/_form.html.haml @@ -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 |