diff options
author | Annabel Dunstone Gray <annabel.dunstone@gmail.com> | 2017-12-04 11:00:52 +0000 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2017-12-04 11:00:52 +0000 |
commit | 6cf76d652d0ae0b77b1250a81aa24e3ce164ccbc (patch) | |
tree | fe69c32bb56860f6a0e08ab4c362b0577e77a3bf /app/views/projects/tree | |
parent | 02111f4d4d03246530e8453d669c63cdbe80fb44 (diff) | |
download | gitlab-ce-6cf76d652d0ae0b77b1250a81aa24e3ce164ccbc.tar.gz |
Add underline hover state to all links
Diffstat (limited to 'app/views/projects/tree')
-rw-r--r-- | app/views/projects/tree/_blob_item.html.haml | 4 | ||||
-rw-r--r-- | app/views/projects/tree/_tree_item.html.haml | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/app/views/projects/tree/_blob_item.html.haml b/app/views/projects/tree/_blob_item.html.haml index fd8175e1e01..c51af901699 100644 --- a/app/views/projects/tree/_blob_item.html.haml +++ b/app/views/projects/tree/_blob_item.html.haml @@ -2,8 +2,8 @@ %td.tree-item-file-name = tree_icon(type, blob_item.mode, blob_item.name) - file_name = blob_item.name - = link_to project_blob_path(@project, tree_join(@id || @commit.id, blob_item.name)), title: file_name do - %span.str-truncated= file_name + = link_to project_blob_path(@project, tree_join(@id || @commit.id, blob_item.name)), class: 'str-truncated', title: file_name do + %span= file_name %td.hidden-xs.tree-commit %td.tree-time-ago.cgray.text-right = render 'projects/tree/spinner' diff --git a/app/views/projects/tree/_tree_item.html.haml b/app/views/projects/tree/_tree_item.html.haml index 56197382a70..af3816fc9f4 100644 --- a/app/views/projects/tree/_tree_item.html.haml +++ b/app/views/projects/tree/_tree_item.html.haml @@ -2,8 +2,8 @@ %td.tree-item-file-name = tree_icon(type, tree_item.mode, tree_item.name) - path = flatten_tree(@path, tree_item) - = link_to project_tree_path(@project, tree_join(@id || @commit.id, path)), title: path do - %span.str-truncated= path + = link_to project_tree_path(@project, tree_join(@id || @commit.id, path)), class: 'str-truncated', title: path do + %span= path %td.hidden-xs.tree-commit %td.tree-time-ago.text-right = render 'projects/tree/spinner' |