summaryrefslogtreecommitdiff
path: root/app/views/commit/show.html.haml
blob: 48fb44a99d51821ec331171f543ee34584eb98c0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
= 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);
    });
  });