diff options
author | Tim Masliuchenko <insside@gmail.com> | 2016-07-21 21:44:12 +0300 |
---|---|---|
committer | Tim Masliuchenko <insside@gmail.com> | 2016-08-04 09:09:59 +0300 |
commit | b6d545df51d7c3b4e572b40cdafb7efeb78edaf4 (patch) | |
tree | 589b0b788433975c77b9aabc43b6f36650dce35c /app/views/projects/diffs/_content.html.haml | |
parent | 95e5b4634db48656317242e2691388f68e8dcd37 (diff) |
Add unfold links for Side-by-Side view
Diffstat (limited to 'app/views/projects/diffs/_content.html.haml')
-rw-r--r-- | app/views/projects/diffs/_content.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/diffs/_content.html.haml b/app/views/projects/diffs/_content.html.haml index a1b071f130c..d37961c4e40 100644 --- a/app/views/projects/diffs/_content.html.haml +++ b/app/views/projects/diffs/_content.html.haml @@ -13,7 +13,7 @@ .nothing-here-block.diff-collapsed{data: { diff_for_path: url } } This diff is collapsed. Click to expand it. - elsif diff_file.diff_lines.length > 0 - - if diff_view == 'parallel' + - if diff_view == :parallel = render "projects/diffs/parallel_view", diff_file: diff_file, project: project, blob: blob - else = render "projects/diffs/text_file", diff_file: diff_file |