Commit 815c0910 authored by Filipa Lacerda's avatar Filipa Lacerda Committed by Annabel Dunstone Gray

Adds tooltips

parent 5db587a1
......@@ -37,6 +37,10 @@
.file-title {
cursor: pointer;
a:hover {
text-decoration: none;
}
&:hover {
background-color: $gray-normal;
}
......
......@@ -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
→
%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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment