Fixed dashboard broken messages cause of glm

This commit is contained in:
randx 2012-08-03 03:28:02 +03:00
parent 34ba4e1352
commit 6171a4d8eb
4 changed files with 104 additions and 99 deletions

View file

@ -13,24 +13,21 @@
is enabled.
.row.note_advanced_opts.hide
.span4
%h5 Notify via email:
.clearfix
= label_tag :notify do
= check_box_tag :notify, 1, @note.noteable_type != "Commit"
%span Project team
.span4.notify_opts
%h6.left Notify via email:
= label_tag :notify do
= check_box_tag :notify, 1, @note.noteable_type != "Commit"
%span Project team
- 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
.span8
%h5 Attachment:
.clearfix
.attachments
%div.file_name File name...
%button.file_upload.btn.small Upload File
.input= f.file_field :attachment, :class => "input-file"
%span Any file less than 10 MB
- 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
.span8.attachments
%h6.left Attachment:
%span.file_name File name...
%button.file_upload.btn.small Upload File
.input= f.file_field :attachment, :class => "input-file"
%span.hint Any file less than 10 MB
= f.submit 'Add Comment', :class => "btn primary submit_note", :id => "submit_note"