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; }
|
.note .note-title { margin-left:55px; }
|
||||||
|
|
||||||
|
p.notify_controls input{
|
||||||
|
margin: 5px;
|
||||||
|
}
|
||||||
|
|
||||||
|
p.notify_controls span{
|
||||||
|
font-weight: 700;
|
||||||
|
}
|
||||||
|
|
|
@ -23,12 +23,14 @@
|
||||||
%br
|
%br
|
||||||
= f.file_field :attachment
|
= f.file_field :attachment
|
||||||
|
|
||||||
|
%p.notify_controls
|
||||||
|
%span Notify:
|
||||||
= check_box_tag :notify, 1, @note.noteable_type != "Commit"
|
= check_box_tag :notify, 1, @note.noteable_type != "Commit"
|
||||||
= label_tag :notify, "Notify project team about your note"
|
= label_tag :notify, "Project team"
|
||||||
|
|
||||||
-if @note.noteable_type == "Commit"
|
-if @note.noteable_type == "Commit"
|
||||||
= check_box_tag :notify_author, 1 , @note.noteable_type == "Commit"
|
= check_box_tag :notify_author, 1 , @note.noteable_type == "Commit"
|
||||||
= label_tag :notify_author, "Notify commit author about your note"
|
= label_tag :notify_author, "Commit author"
|
||||||
|
|
||||||
.clear
|
.clear
|
||||||
%br
|
%br
|
||||||
|
|
Loading…
Reference in a new issue