| ... | ... | @@ -7,13 +7,11 @@ |
|
|
|
But if you still want to see diff
|
|
|
|
= link_to "click this link", project_commit_path(@project, @commit.id, :force_show_diff => true), :class => "dark"
|
|
|
|
|
|
|
|
|
|
|
|
%p.cgray
|
|
|
|
Showing #{pluralize(diffs.count, "changed file")}
|
|
|
|
.file_stats
|
|
|
|
= render "commits/diff_head", :diffs => diffs
|
|
|
|
|
|
|
|
|
|
|
|
- unless @suppress_diff
|
|
|
|
- diffs.each_with_index do |diff, i|
|
|
|
|
- next if diff.diff.empty?
|
| ... | ... | @@ -39,4 +37,3 @@ |
|
|
|
- else
|
|
|
|
%p
|
|
|
|
%center No preview for this file type |
|
|
|
|