Comment wont be mailed to team by default.

No more magic for deciding which comment is important or not.
This commit is contained in:
rmp 2013-01-09 16:44:00 +01:00
parent 3cccbf8a43
commit 1abc70fbf6
2 changed files with 4 additions and 4 deletions

View file

@ -22,12 +22,12 @@
.span4.notify_opts
%h6.left Notify via email:
= label_tag :notify do
= check_box_tag :notify, 0, @note.noteable_type != "Commit"
= check_box_tag :notify, 1, false
%span Project team
- if @note.notify_only_author?(current_user)
= label_tag :notify_author do
= check_box_tag :notify_author, 0 , @note.noteable_type == "Commit"
= check_box_tag :notify_author, 1 , false
%span Commit author
.span5.attachments
%h6.left Attachment:

View file

@ -23,12 +23,12 @@
%h6.left Notify via email:
.labels
= label_tag :notify do
= check_box_tag :notify, 0, @note.noteable_type != "Commit"
= check_box_tag :notify, 1, false
%span Project team
- if @note.notify_only_author?(current_user)
= label_tag :notify_author do
= check_box_tag :notify_author, 0 , @note.noteable_type == "Commit"
= check_box_tag :notify_author, 1 , false
%span Commit author
:javascript