diff --git a/app/views/projects/diffs/_file_header.html.haml b/app/views/projects/diffs/_file_header.html.haml index 59b91c057a8b44226379e169df9d03ff16571d62..1e5ac4ed38c03845188ab9b823235d7f8609031a 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.has-tooltip{data: { title: old_path } } + %strong.file-title-name.has-tooltip{ data: { title: old_path } } = old_path → - %strong.file-title-name.has-tooltip{data: { title: new_path } } + %strong.file-title-name.has-tooltip{ data: { title: new_path } } = new_path - else - %strong.file-title-name.has-tooltip{data: { title: diff_file.new_path } } + %strong.file-title-name.has-tooltip{ data: { title: diff_file.new_path } } = diff_file.new_path - if diff_file.deleted_file deleted