It was hard to click on small edit icon for comment
This commit is contained in:
parent
263b301f66
commit
0675552463
|
@ -8,8 +8,11 @@
|
||||||
- if(note.author_id == current_user.id) || can?(current_user, :admin_note, @project)
|
- if(note.author_id == current_user.id) || can?(current_user, :admin_note, @project)
|
||||||
= link_to "#", title: "Edit comment", class: "js-note-edit" do
|
= link_to "#", title: "Edit comment", class: "js-note-edit" do
|
||||||
%i.icon-edit
|
%i.icon-edit
|
||||||
|
Edit
|
||||||
|
|
||||||
= 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
|
= 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
|
||||||
%i.icon-trash.cred
|
%i.icon-trash.cred
|
||||||
|
Remove
|
||||||
= image_tag gravatar_icon(note.author_email), class: "avatar s32"
|
= image_tag gravatar_icon(note.author_email), class: "avatar s32"
|
||||||
= link_to_member(@project, note.author, avatar: false)
|
= link_to_member(@project, note.author, avatar: false)
|
||||||
%span.note-last-update
|
%span.note-last-update
|
||||||
|
|
Loading…
Reference in New Issue