2015-03-18 22:21:24 -04:00
|
|
|
.row.prepend-top-20.append-bottom-10
|
2014-09-08 09:26:49 -04:00
|
|
|
.col-md-8
|
2014-09-08 14:54:52 -04:00
|
|
|
= render 'projects/diffs/stats', diffs: diffs
|
2014-09-08 09:26:49 -04:00
|
|
|
.col-md-4
|
2014-12-25 07:32:49 -05:00
|
|
|
.btn-group.pull-right
|
|
|
|
= inline_diff_btn
|
|
|
|
= parallel_diff_btn
|
2014-09-08 15:12:54 -04:00
|
|
|
|
2014-09-09 05:52:16 -04:00
|
|
|
- if show_diff_size_warning?(diffs)
|
2014-09-08 14:54:52 -04:00
|
|
|
= render 'projects/diffs/warning', diffs: diffs
|
2014-09-08 09:26:49 -04:00
|
|
|
|
|
|
|
.files
|
2014-09-08 14:54:52 -04:00
|
|
|
- safe_diff_files(diffs).each_with_index do |diff_file, index|
|
|
|
|
= render 'projects/diffs/file', diff_file: diff_file, i: index, project: project
|
2014-09-08 09:26:49 -04:00
|
|
|
|
|
|
|
- if @diff_timeout
|
|
|
|
.alert.alert-danger
|
|
|
|
%h4
|
|
|
|
Failed to collect changes
|
|
|
|
%p
|
2014-09-10 16:20:40 -04:00
|
|
|
Maybe diff is really big and operation failed with timeout. Try to get diff locally
|