.diff-content.diff-wrap-lines-# Skip all non non-supported blobs-returnunlessblob.respond_to?(:text?)-ifdiff_file.too_large?.nothing-here-block This diff could not be displayed because it is too large.-elsifblob.only_display_raw?.nothing-here-block This file is too large to display.-elsifblob_text_viewable?(blob)-if!project.repository.diffable?(blob).nothing-here-block This diff was suppressed by a .gitattributes entry.-elsifdiff_file.diff_lines.length>0
-url=url_for(params.merge(action: :diff_for_path,path: diff_file.file_path,format: nil)).nothing-here-block.diff-collapsed{data: {diff_for_path: url}} This diff is collapsed. Click to expand it.-elsifdiff_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-else-ifdiff_file.mode_changed?.nothing-here-block File mode changed-elsifdiff_file.renamed_file.nothing-here-block File moved-elsifblob.image?-old_blob=diff_file.old_blob(diff_commit)=render"projects/diffs/image",diff_file: diff_file,old_file: old_blob,file: blob-else.nothing-here-block No preview for this file type