From 3cccd102ba543e02725d247893729e5c73b38295 Mon Sep 17 00:00:00 2001 From: GitLab Bot Date: Wed, 20 Apr 2022 10:00:54 +0000 Subject: Add latest changes from gitlab-org/gitlab@14-10-stable-ee --- app/views/projects/diffs/_parallel_view.html.haml | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'app/views/projects/diffs/_parallel_view.html.haml') diff --git a/app/views/projects/diffs/_parallel_view.html.haml b/app/views/projects/diffs/_parallel_view.html.haml index ebe3aad064a..03fe3e6edf5 100644 --- a/app/views/projects/diffs/_parallel_view.html.haml +++ b/app/views/projects/diffs/_parallel_view.html.haml @@ -11,6 +11,8 @@ - case left.type - when 'match' = diff_match_line left.old_pos, nil, text: left.text, view: :parallel + - when 'old-nomappinginraw', 'new-nomappinginraw', 'unchanged-nomappinginraw' + = diff_nomappinginraw_line left, %w[old_line diff-line-num], nil, %w[line_content parallel left-side] - when 'old-nonewline', 'new-nonewline' %td.old_line.diff-line-num %td.line_content.match.left-side= left.text @@ -29,6 +31,8 @@ - case right.type - when 'match' = diff_match_line nil, right.new_pos, text: left.text, view: :parallel + - when 'old-nomappinginraw', 'new-nomappinginraw', 'unchanged-nomappinginraw' + = diff_nomappinginraw_line right, %w[new_line diff-line-num], nil, %w[line_content parallel right-side] - when 'old-nonewline', 'new-nonewline' %td.new_line.diff-line-num %td.line_content.match.right-side= right.text -- cgit v1.2.1