Commit 815fbbbf authored by Marin Jankovski's avatar Marin Jankovski

Add title html option to issue and mr links in milestones to show title on hover.

parent 8fb76a83
......@@ -4,7 +4,7 @@
%strong #{project.name} ·
= link_to [project, issue] do
%span.cgray ##{issue.iid}
= link_to_gfm issue.title, [project, issue]
= link_to_gfm issue.title, [project, issue], title: issue.title
.pull-right.assignee-icon
- if issue.assignee
= image_tag avatar_icon(issue.assignee.email, 16), class: "avatar s16"
......@@ -4,7 +4,7 @@
%strong #{project.name} ·
= link_to [project, merge_request] do
%span.cgray ##{merge_request.iid}
= link_to_gfm merge_request.title, [project, merge_request]
= link_to_gfm merge_request.title, [project, merge_request], title: merge_request.title
.pull-right.assignee-icon
- if merge_request.assignee
= image_tag avatar_icon(merge_request.assignee.email, 16), class: "avatar s16"
......@@ -2,7 +2,7 @@
%span.str-truncated
= link_to [@project, issue] do
%span.cgray ##{issue.iid}
= link_to_gfm issue.title, [@project, issue]
= link_to_gfm issue.title, [@project, issue], title: issue.title
.pull-right.assignee-icon
- if issue.assignee
= image_tag avatar_icon(issue.assignee.email, 16), class: "avatar s16"
......
......@@ -2,4 +2,4 @@
%span.str-truncated
= link_to [@project, merge_request] do
%span.cgray ##{merge_request.iid}
= link_to_gfm truncate(merge_request.title, length: 60), [@project, merge_request]
= link_to_gfm merge_request.title, [@project, merge_request], title: merge_request.title
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment