Commit 0ab708df authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Merge branch 'title_for_truncated_names' into 'master'

Title for truncated names

Fixes #1391
parents 8fb76a83 815fbbbf
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
%strong #{project.name} · %strong #{project.name} ·
= link_to [project, issue] do = link_to [project, issue] do
%span.cgray ##{issue.iid} %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 .pull-right.assignee-icon
- if issue.assignee - if issue.assignee
= image_tag avatar_icon(issue.assignee.email, 16), class: "avatar s16" = image_tag avatar_icon(issue.assignee.email, 16), class: "avatar s16"
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
%strong #{project.name} · %strong #{project.name} ·
= link_to [project, merge_request] do = link_to [project, merge_request] do
%span.cgray ##{merge_request.iid} %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 .pull-right.assignee-icon
- if merge_request.assignee - if merge_request.assignee
= image_tag avatar_icon(merge_request.assignee.email, 16), class: "avatar s16" = image_tag avatar_icon(merge_request.assignee.email, 16), class: "avatar s16"
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
%span.str-truncated %span.str-truncated
= link_to [@project, issue] do = link_to [@project, issue] do
%span.cgray ##{issue.iid} %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 .pull-right.assignee-icon
- if issue.assignee - if issue.assignee
= image_tag avatar_icon(issue.assignee.email, 16), class: "avatar s16" = image_tag avatar_icon(issue.assignee.email, 16), class: "avatar s16"
......
...@@ -2,4 +2,4 @@ ...@@ -2,4 +2,4 @@
%span.str-truncated %span.str-truncated
= link_to [@project, merge_request] do = link_to [@project, merge_request] do
%span.cgray ##{merge_request.iid} %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