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