2013-03-21 22:22:54 +02:00
|
|
|
= render "commit_box"
|
2013-01-04 22:13:32 +02:00
|
|
|
|
2013-03-21 22:50:18 +02:00
|
|
|
- unless @commit.has_zero_stats?
|
|
|
|
%p.pull-right.cgray
|
|
|
|
This commit has
|
|
|
|
%span.cgreen #{@commit.stats.additions} additions
|
|
|
|
and
|
|
|
|
%span.cred #{@commit.stats.deletions} deletions
|
2013-01-04 22:13:32 +02:00
|
|
|
|
2012-08-10 18:07:50 -04:00
|
|
|
= render "commits/diffs", diffs: @commit.diffs
|
2012-12-02 20:43:39 +01:00
|
|
|
= render "notes/notes_with_form"
|
2012-01-12 00:26:01 +02:00
|
|
|
|
|
|
|
:javascript
|
2012-08-30 21:31:55 +03:00
|
|
|
$(function(){
|
2012-12-01 13:49:21 +01:00
|
|
|
$('.files .file').each(function(){
|
|
|
|
new CommitFile(this);
|
2012-11-21 18:25:32 +01:00
|
|
|
});
|
2012-01-12 00:26:01 +02:00
|
|
|
});
|