Commit de83c91c2fd8b8f5c7230e2515d6e206331fd37f
1 parent
49b58057
Exists in
master
and in
4 other branches
small redesign of controls of notes
Showing
2 changed files
with
16 additions
and
6 deletions
Show diff stats
app/assets/stylesheets/notes.css.scss
app/views/notes/_form.html.haml
... | ... | @@ -22,13 +22,15 @@ |
22 | 22 | %br |
23 | 23 | %br |
24 | 24 | = f.file_field :attachment |
25 | + | |
26 | + %p.notify_controls | |
27 | + %span Notify: | |
28 | + = check_box_tag :notify, 1, @note.noteable_type != "Commit" | |
29 | + = label_tag :notify, "Project team" | |
25 | 30 | |
26 | - = check_box_tag :notify, 1, @note.noteable_type != "Commit" | |
27 | - = label_tag :notify, "Notify project team about your note" | |
28 | - | |
29 | - -if @note.noteable_type == "Commit" | |
30 | - = check_box_tag :notify_author, 1 , @note.noteable_type == "Commit" | |
31 | - = label_tag :notify_author, "Notify commit author about your note" | |
31 | + -if @note.noteable_type == "Commit" | |
32 | + = check_box_tag :notify_author, 1 , @note.noteable_type == "Commit" | |
33 | + = label_tag :notify_author, "Commit author" | |
32 | 34 | |
33 | 35 | .clear |
34 | 36 | %br | ... | ... |