From e29687552e375d324a153de077e0dbe7a4a5fd3c Mon Sep 17 00:00:00 2001 From: Riyad Preukschas Date: Wed, 2 Jan 2013 21:07:02 +0100 Subject: [PATCH] Fix link titles --- app/views/notes/_form.html.haml | 4 ++-- app/views/notes/_note.html.haml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/views/notes/_form.html.haml b/app/views/notes/_form.html.haml index c310fac..38bb8a2 100644 --- a/app/views/notes/_form.html.haml +++ b/app/views/notes/_form.html.haml @@ -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' diff --git a/app/views/notes/_note.html.haml b/app/views/notes/_note.html.haml index 980300c..8881cf5 100644 --- a/app/views/notes/_note.html.haml +++ b/app/views/notes/_note.html.haml @@ -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" -- libgit2 0.21.2