提交 0ab708df 编写于 作者: D Dmitriy Zaporozhets

Merge branch 'title_for_truncated_names' into 'master'

Title for truncated names

Fixes #1391
......@@ -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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册