Commit 0675552463c5afccd81bbfe1ff276d19d0d79446

Authored by Dmitriy Zaporozhets
1 parent 263b301f

It was hard to click on small edit icon for comment

Showing 1 changed file with 3 additions and 0 deletions   Show diff stats
app/views/projects/notes/_note.html.haml
@@ -8,8 +8,11 @@ @@ -8,8 +8,11 @@
8 - if(note.author_id == current_user.id) || can?(current_user, :admin_note, @project) 8 - if(note.author_id == current_user.id) || can?(current_user, :admin_note, @project)
9 = link_to "#", title: "Edit comment", class: "js-note-edit" do 9 = link_to "#", title: "Edit comment", class: "js-note-edit" do
10 %i.icon-edit 10 %i.icon-edit
  11 + Edit
  12 +  
11 = link_to project_note_path(@project, note), title: "Remove comment", method: :delete, confirm: 'Are you sure you want to remove this comment?', remote: true, class: "danger js-note-delete" do 13 = link_to project_note_path(@project, note), title: "Remove comment", method: :delete, confirm: 'Are you sure you want to remove this comment?', remote: true, class: "danger js-note-delete" do
12 %i.icon-trash.cred 14 %i.icon-trash.cred
  15 + Remove
13 = image_tag gravatar_icon(note.author_email), class: "avatar s32" 16 = image_tag gravatar_icon(note.author_email), class: "avatar s32"
14 = link_to_member(@project, note.author, avatar: false) 17 = link_to_member(@project, note.author, avatar: false)
15 %span.note-last-update 18 %span.note-last-update