Disable automatic mailing to the group.

Most comments are not so essential for the whole team and plenty are private notes. It's recommended to disable those and enable by hand when a comment is important.
This commit is contained in:
rmp 2013-01-08 23:40:09 +01:00
parent 708a0d421e
commit 2e7e6e6ee1
2 changed files with 4 additions and 4 deletions

View file

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

View file

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