Improved commit author notification

This commit is contained in:
Dmitriy Zaporozhets 2012-02-10 10:59:39 +08:00
parent adcfeae161
commit a769204ff4
4 changed files with 50 additions and 16 deletions

View file

@ -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