BigW Consortium Gitlab

_commit_list.html.haml 537 Bytes
Newer Older
Jacob Vosmaer committed
1
- commits, hidden = limited_commits(@commits)
2 3
- commits = Commit.decorate(commits, @project)

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