small redesign of controls of notes
This commit is contained in:
parent
49b5805709
commit
de83c91c2f
2 changed files with 16 additions and 6 deletions
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -23,12 +23,14 @@
|
|||
%br
|
||||
= f.file_field :attachment
|
||||
|
||||
= check_box_tag :notify, 1, @note.noteable_type != "Commit"
|
||||
= label_tag :notify, "Notify project team about your note"
|
||||
%p.notify_controls
|
||||
%span Notify:
|
||||
= check_box_tag :notify, 1, @note.noteable_type != "Commit"
|
||||
= label_tag :notify, "Project team"
|
||||
|
||||
-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
|
||||
|
|
Loading…
Reference in a new issue