diff --git a/app/assets/stylesheets/notes.css.scss b/app/assets/stylesheets/notes.css.scss index c3ee843a..4aba53cf 100644 --- a/app/assets/stylesheets/notes.css.scss +++ b/app/assets/stylesheets/notes.css.scss @@ -42,3 +42,11 @@ body.project-page #notes-list .note span.note-author strong{font-weight: bold; f .note .note-title { margin-left:55px; } + +p.notify_controls input{ + margin: 5px; +} + +p.notify_controls span{ + font-weight: 700; +} diff --git a/app/views/notes/_form.html.haml b/app/views/notes/_form.html.haml index 23c9553e..65af82b3 100644 --- a/app/views/notes/_form.html.haml +++ b/app/views/notes/_form.html.haml @@ -22,13 +22,15 @@ %br %br = f.file_field :attachment + + %p.notify_controls + %span Notify: + = check_box_tag :notify, 1, @note.noteable_type != "Commit" + = label_tag :notify, "Project team" - = check_box_tag :notify, 1, @note.noteable_type != "Commit" - = label_tag :notify, "Notify project team about your note" - - -if @note.noteable_type == "Commit" - = check_box_tag :notify_author, 1 , @note.noteable_type == "Commit" - = label_tag :notify_author, "Notify commit author about your note" + -if @note.noteable_type == "Commit" + = check_box_tag :notify_author, 1 , @note.noteable_type == "Commit" + = label_tag :notify_author, "Commit author" .clear %br