summaryrefslogtreecommitdiff
path: root/app/views/projects/diffs/_file_header.html.haml
diff options
context:
space:
mode:
authorFilipa Lacerda <lacerda.filipa@gmail.com>2017-01-23 09:33:19 +0000
committerAnnabel Dunstone Gray <annabel.dunstone@gmail.com>2017-02-08 20:52:08 -0600
commitaf143b3f562aadc7f7cda68722be18224b24fa33 (patch)
tree73c0e102fb78324dc7b880fd67e28b0eecf85d93 /app/views/projects/diffs/_file_header.html.haml
parent7524406189939a1e872251f6aac4bcb5038cad1f (diff)
downloadgitlab-ce-af143b3f562aadc7f7cda68722be18224b24fa33.tar.gz
Revert "Merge branch 'revert-a91ff32b' into 'master'"
This reverts merge request !8688
Diffstat (limited to 'app/views/projects/diffs/_file_header.html.haml')
-rw-r--r--app/views/projects/diffs/_file_header.html.haml6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/views/projects/diffs/_file_header.html.haml b/app/views/projects/diffs/_file_header.html.haml
index ddec775b789..5b09b6907ab 100644
--- a/app/views/projects/diffs/_file_header.html.haml
+++ b/app/views/projects/diffs/_file_header.html.haml
@@ -10,13 +10,13 @@
- if diff_file.renamed_file
- old_path, new_path = mark_inline_diffs(diff_file.old_path, diff_file.new_path)
- %strong
+ %strong.file-title-name.has-tooltip{ data: { title: old_path } }
= old_path
&rarr;
- %strong
+ %strong.file-title-name.has-tooltip{ data: { title: new_path } }
= new_path
- else
- %strong
+ %strong.file-title-name.has-tooltip{ data: { title: diff_file.new_path } }
= diff_file.new_path
- if diff_file.deleted_file
deleted