Commit 16a98387 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

merge reques diff: files list displayed

parent 5c6417ce
.file_stats
= render "commits/diff_head"
= render "commits/diff_head", :diffs => @commit.diffs
- @commit.diffs.each_with_index do |diff, i|
- next if diff.diff.empty?
......
%ul.bordered-list
- @commit.diffs.each do |diff|
- diffs.each do |diff|
%li
- if diff.deleted_file
%span.removed_file
......
.file_stats
= render "commits/diff_head", :diffs => @diffs
- @diffs.each_with_index do |diff, i|
- next if diff.diff.empty?
- file = (@commit.tree / diff.b_path)
......
......@@ -19,8 +19,7 @@
%br
= f.label :attachment
%cite.cgray (less than 10 MB)
%br
%br
 
= f.file_field :attachment
%p.notify_controls
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment