Comment wont be mailed to team by default.
No more magic for deciding which comment is important or not.
This commit is contained in:
parent
3cccbf8a43
commit
1abc70fbf6
2 changed files with 4 additions and 4 deletions
|
@ -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, 0, @note.noteable_type != "Commit"
|
= check_box_tag :notify, 1, false
|
||||||
%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, 0 , @note.noteable_type == "Commit"
|
= check_box_tag :notify_author, 1 , false
|
||||||
%span Commit author
|
%span Commit author
|
||||||
.span5.attachments
|
.span5.attachments
|
||||||
%h6.left Attachment:
|
%h6.left Attachment:
|
||||||
|
|
|
@ -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, 0, @note.noteable_type != "Commit"
|
= check_box_tag :notify, 1, false
|
||||||
%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, 0 , @note.noteable_type == "Commit"
|
= check_box_tag :notify_author, 1 , false
|
||||||
%span Commit author
|
%span Commit author
|
||||||
|
|
||||||
:javascript
|
:javascript
|
||||||
|
|
Loading…
Reference in a new issue