2016-11-04 10:43:43 -04:00
|
|
|
- ref = local_assigns.fetch(:ref)
|
2016-03-04 09:45:58 -05:00
|
|
|
- commits, hidden = limited_commits(@commits)
|
2015-01-17 17:54:54 -05:00
|
|
|
|
2016-05-18 12:38:00 -04:00
|
|
|
- commits.chunk { |c| c.committed_date.in_time_zone.to_date }.each do |day, commits|
|
2017-01-15 11:20:13 -05:00
|
|
|
%li.commit-header #{day.strftime('%d %b, %Y')} #{pluralize(commits.count, 'commit')}
|
2016-05-24 03:28:18 -04:00
|
|
|
%li.commits-row
|
2017-02-27 22:31:21 -05:00
|
|
|
%ul.content-list.commit-list
|
2016-10-21 04:22:43 -04:00
|
|
|
= render commits, project: project, ref: ref
|
2016-03-04 09:20:30 -05:00
|
|
|
|
2016-03-04 09:45:58 -05:00
|
|
|
- if hidden > 0
|
2016-05-24 03:28:18 -04:00
|
|
|
%li.alert.alert-warning
|
2016-03-09 06:00:17 -05:00
|
|
|
#{number_with_delimiter(hidden)} additional commits have been omitted to prevent performance issues.
|