Fix link titles
This commit is contained in:
parent
621c6b8533
commit
e29687552e
|
@ -7,9 +7,9 @@
|
|||
= f.hidden_field :noteable_type
|
||||
|
||||
.note_text_and_preview.js-toggler-container
|
||||
%a.js-note-preview-button.js-toggler-target.turn-off{ href: "javascript:;", data: {title: "Preview", url: preview_project_notes_path(@project)} }
|
||||
%a.js-note-preview-button.js-toggler-target.turn-off{ href: "javascript:;", title: "Preview", data: {url: preview_project_notes_path(@project)} }
|
||||
%i.icon-eye-open
|
||||
%a.js-note-edit-button.js-toggler-target.turn-off{ href: "javascript:;", data: {title: "Edit"} }
|
||||
%a.js-note-edit-button.js-toggler-target.turn-off{ href: "javascript:;", title: "Edit" }
|
||||
%i.icon-edit
|
||||
|
||||
= f.text_area :note, size: 255, class: 'note_text js-note-text js-gfm-input turn-on'
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
Link here
|
||||
|
||||
- if(note.author_id == current_user.id) || can?(current_user, :admin_note, @project)
|
||||
= link_to project_note_path(@project, note), method: :delete, confirm: 'Are you sure?', remote: true, class: "danger js-note-delete" do
|
||||
= link_to project_note_path(@project, note), title: "Remove comment", method: :delete, confirm: 'Are you sure?', remote: true, class: "danger js-note-delete" do
|
||||
%i.icon-remove-circle
|
||||
= image_tag gravatar_icon(note.author.email), class: "avatar s32"
|
||||
= link_to note.author_name, project_team_member_path(@project, @project.team_member_by_id(note.author)), class: "note-author"
|
||||
|
|
Loading…
Reference in a new issue