2015-01-17 17:54:54 -05:00
|
|
|
- unless defined?(project)
|
|
|
|
- project = @project
|
2016-03-04 09:45:58 -05:00
|
|
|
|
|
|
|
- commits, hidden = limited_commits(@commits)
|
2015-01-17 17:54:54 -05:00
|
|
|
|
2016-03-04 09:20:30 -05:00
|
|
|
- commits.group_by { |c| c.committed_date.to_date }.sort.reverse.each do |day, commits|
|
2013-09-09 09:20:43 -04:00
|
|
|
.row.commits-row
|
2015-02-19 21:23:10 -05:00
|
|
|
.col-md-2.hidden-xs.hidden-sm
|
|
|
|
%h5.commits-row-date
|
2014-10-01 18:21:29 -04:00
|
|
|
%i.fa.fa-calendar
|
2016-01-06 16:35:17 -05:00
|
|
|
%span= day.strftime('%d %b, %Y')
|
2015-02-19 21:23:10 -05:00
|
|
|
.light
|
|
|
|
= pluralize(commits.count, 'commit')
|
|
|
|
.col-md-10.col-sm-12
|
2014-06-10 15:01:56 -04:00
|
|
|
%ul.bordered-list
|
2015-01-06 18:39:33 -05:00
|
|
|
= render commits, project: project
|
2013-09-10 03:17:15 -04:00
|
|
|
%hr.lists-separator
|
2016-03-04 09:20:30 -05:00
|
|
|
|
2016-03-04 09:45:58 -05:00
|
|
|
- if hidden > 0
|
2016-03-04 09:20:30 -05:00
|
|
|
.alert.alert-warning
|
2016-03-09 06:00:17 -05:00
|
|
|
#{number_with_delimiter(hidden)} additional commits have been omitted to prevent performance issues.
|