summaryrefslogtreecommitdiff
path: root/app/views
diff options
context:
space:
mode:
authorFilipa Lacerda <filipa@gitlab.com>2017-01-12 11:15:42 -0500
committerAnnabel Dunstone Gray <annabel.dunstone@gmail.com>2017-01-19 14:44:06 -0600
commit815c0910968fb4c0f0c787af5e7733c71284a274 (patch)
tree17cded61548fafce6458e394cb52f81a8904a226 /app/views
parent5db587a1adb6c51a2e3e5ab44ef35779f9a6917d (diff)
downloadgitlab-ce-815c0910968fb4c0f0c787af5e7733c71284a274.tar.gz
Adds tooltips
Diffstat (limited to 'app/views')
-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 7fe450381c5..59b91c057a8 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.file-title-name
+ %strong.file-title-name.has-tooltip{data: { title: old_path } }
= old_path
&rarr;
- %strong.file-title-name
+ %strong.file-title-name.has-tooltip{data: { title: new_path } }
= new_path
- else
- %strong.file-title-name
+ %strong.file-title-name.has-tooltip{data: { title: diff_file.new_path } }
= diff_file.new_path
- if diff_file.deleted_file
deleted