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-06-03 01:40:20 +00:00
|
|
|
%li.commit-header.js-commit-header{ data: { day: day } }
|
|
|
|
%span.day= day.strftime('%d %b, %Y')
|
|
|
|
%span.commits-count= pluralize(commits.count, 'commit')
|
|
|
|
|
|
|
|
%li.commits-row{ data: { day: day } }
|
2017-02-28 03:31:21 +00:00
|
|
|
%ul.content-list.commit-list
|
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.
|