_commit_list.html.haml 495 字节
Newer Older
1 2 3
- commits, hidden = limited_commits(@commits, @project)
- commits = Commit.decorate(commits, @project)

4 5 6
%div.panel.panel-default
  .panel-heading
    Commits (#{@commits.count})
7
  - if hidden > 0
8
    %ul.well-list
9
      - commits.each do |commit|
10 11
        = render "projects/commits/inline_commit", commit: commit, project: @project
      %li.warning-row.unstyled
12
        other #{hidden} commits hidden to prevent performance issues.
13
  - else
14
    %ul.well-list= render commits, project: @project