Improved commit author notification
This commit is contained in:
parent
adcfeae161
commit
a769204ff4
4 changed files with 50 additions and 16 deletions
|
@ -17,7 +17,7 @@
|
|||
= check_box_tag :notify, 1, @note.noteable_type != "Commit"
|
||||
%span Project team
|
||||
|
||||
-if @note.noteable_type == "Commit"
|
||||
- if @note.notify_only_author?(current_user)
|
||||
= label_tag :notify_author do
|
||||
= check_box_tag :notify_author, 1 , @note.noteable_type == "Commit"
|
||||
%span Commit author
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue