Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Ramsay <james@jramsay.com.au>2018-10-24 21:27:40 +0300
committerJames Ramsay <james@jramsay.com.au>2018-10-25 20:23:43 +0300
commitaa73ef5b16851ba69c5198f98683bf1200656bd5 (patch)
tree6a5433214e8f0241541f4ddb1f4ce66171f8d105 /app/views/projects/tree
parentf8f1466ad07b3dcea7c0abc54fa25865b420b4f0 (diff)
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
Diffstat (limited to 'app/views/projects/tree')
-rw-r--r--app/views/projects/tree/_tree_commit_column.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/tree/_tree_commit_column.html.haml b/app/views/projects/tree/_tree_commit_column.html.haml
index 406dccb74fb..e37fd7624be 100644
--- a/app/views/projects/tree/_tree_commit_column.html.haml
+++ b/app/views/projects/tree/_tree_commit_column.html.haml
@@ -1,2 +1,2 @@
%span.str-truncated
- = link_to_html commit.redacted_full_title_html, project_commit_path(@project, commit.id), class: 'tree-commit-link'
+ = link_to_html commit.redacted_full_title_html, project_commit_path(@project, commit.id), title: commit.redacted_full_title_html, class: 'tree-commit-link'