Remove markup showing in tooltip for renamed files in diff view

This commit is contained in:
Sam Rose 2017-02-20 08:22:44 -05:00
parent c89449e611
commit 50cfaf0ef6
2 changed files with 6 additions and 2 deletions

View File

@ -10,10 +10,10 @@
- if diff_file.renamed_file
- old_path, new_path = mark_inline_diffs(diff_file.old_path, diff_file.new_path)
%strong.file-title-name.has-tooltip{ data: { title: old_path, container: 'body' } }
%strong.file-title-name.has-tooltip{ data: { title: diff_file.old_path, container: 'body' } }
= old_path
→
%strong.file-title-name.has-tooltip{ data: { title: new_path, container: 'body' } }
%strong.file-title-name.has-tooltip{ data: { title: diff_file.new_path, container: 'body' } }
= new_path
- else
%strong.file-title-name.has-tooltip{ data: { title: diff_file.new_path, container: 'body' } }

View File

@ -0,0 +1,4 @@
---
title: Remove markup that was showing in tooltip for renamed files
merge_request: 9374
author: