From 357bf00921be191fcd401cdf26d9798f2b57a127 Mon Sep 17 00:00:00 2001 From: Marin Jankovski Date: Thu, 4 Sep 2014 12:05:58 +0200 Subject: [PATCH] File mode changed note. --- app/views/projects/commits/_parallel_view.html.haml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/app/views/projects/commits/_parallel_view.html.haml b/app/views/projects/commits/_parallel_view.html.haml index 92425f36577..d7792e488a2 100644 --- a/app/views/projects/commits/_parallel_view.html.haml +++ b/app/views/projects/commits/_parallel_view.html.haml @@ -13,10 +13,14 @@ - if type == 'old' %td.line_content{class: "parallel noteable_line old #{line_code}", "line_code" => line_code}= raw line - else - %td.line_content.parallel= line + %td.line_content.parallel= raw line %td.new_line{data: {linenumber: line_new}} = link_to raw(line_new) , "##{line_code}", id: line_code - if type == 'old' %td.line_content.parallel{class: "noteable_line new #{line_code}", "line_code" => line_code}= raw next_line - else - %td.line_content.parallel= line + %td.line_content.parallel= raw line + +- if diff.diff.blank? && diff_file_mode_changed?(diff) + .file-mode-changed + File mode changed