gitlabhq/app/views/commit/show.html.haml

19 lines
403 B
Text
Raw Permalink Normal View History

= 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
2012-12-02 20:43:39 +01:00
= render "notes/notes_with_form"
:javascript
$(function(){
$('.files .file').each(function(){
new CommitFile(this);
});
});