show.html.haml
403 Bytes
= render "commit_box"
- 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
= render "commits/diffs", diffs: @commit.diffs
= render "notes/notes_with_form"
:javascript
$(function(){
$('.files .file').each(function(){
new CommitFile(this);
});
});