gitlab-org--gitlab-foss/app/views/projects/tree/_tree_commit_column.html.haml
James Ramsay aa73ef5b16 Add title to commit links in list view
The short commit message may be truncated making the truncated
portion unreadable. The title of the link should be the commit message
so that the commit message is shown when hovering the commit message
anchor.

Closes gitlab-org/gitlab-ce#42673
2018-10-25 13:23:43 -04:00

2 lines
178 B
Text

%span.str-truncated
= link_to_html commit.redacted_full_title_html, project_commit_path(@project, commit.id), title: commit.redacted_full_title_html, class: 'tree-commit-link'