BigW Consortium Gitlab

_commits.html.haml 503 Bytes
Newer Older
1
- ref = local_assigns.fetch(:ref)
2
- commits, hidden = limited_commits(@commits)
3

4
- commits.chunk { |c| c.committed_date.in_time_zone.to_date }.each do |day, commits|
5
  %li.commit-header #{day.strftime('%d %b, %Y')} #{pluralize(commits.count, 'commit')}
Phil Hughes committed
6
  %li.commits-row
7
    %ul.content-list.commit-list
8
      = render commits, project: project, ref: ref
9

10
- if hidden > 0
Phil Hughes committed
11
  %li.alert.alert-warning
12
    #{number_with_delimiter(hidden)} additional commits have been omitted to prevent performance issues.