Commit 0675552463c5afccd81bbfe1ff276d19d0d79446
1 parent
263b301f
Exists in
master
and in
4 other branches
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 | - if(note.author_id == current_user.id) || can?(current_user, :admin_note, @project) |
9 | 9 | = link_to "#", title: "Edit comment", class: "js-note-edit" do |
10 | 10 | %i.icon-edit |
11 | + Edit | |
12 | + | |
11 | 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 | 14 | %i.icon-trash.cred |
15 | + Remove | |
13 | 16 | = image_tag gravatar_icon(note.author_email), class: "avatar s32" |
14 | 17 | = link_to_member(@project, note.author, avatar: false) |
15 | 18 | %span.note-last-update | ... | ... |