2016-11-24 13:41:30 +05:30
|
|
|
- ref = local_assigns.fetch(:ref)
|
2016-06-02 11:05:42 +05:30
|
|
|
- commits, hidden = limited_commits(@commits)
|
|
|
|
|
|
|
|
- commits.chunk { |c| c.committed_date.in_time_zone.to_date }.each do |day, commits|
|
2017-08-17 22:00:37 +05:30
|
|
|
%li.commit-header #{day.strftime('%d %b, %Y')} #{pluralize(commits.count, 'commit')}
|
2016-06-22 15:30:34 +05:30
|
|
|
%li.commits-row
|
2017-08-17 22:00:37 +05:30
|
|
|
%ul.content-list.commit-list
|
2016-11-24 13:41:30 +05:30
|
|
|
= render commits, project: project, ref: ref
|
2016-06-02 11:05:42 +05:30
|
|
|
|
|
|
|
- if hidden > 0
|
2016-06-22 15:30:34 +05:30
|
|
|
%li.alert.alert-warning
|
2016-06-02 11:05:42 +05:30
|
|
|
#{number_with_delimiter(hidden)} additional commits have been omitted to prevent performance issues.
|