2015-01-17 22:54:54 +00:00
|
|
|
- unless defined?(project)
|
|
|
|
- project = @project
|
|
|
|
|
2012-11-19 10:44:28 +00:00
|
|
|
- @commits.group_by { |c| c.committed_date.to_date }.sort.reverse.each do |day, commits|
|
2013-09-09 13:20:43 +00:00
|
|
|
.row.commits-row
|
2015-02-20 02:23:10 +00:00
|
|
|
.col-md-2.hidden-xs.hidden-sm
|
|
|
|
%h5.commits-row-date
|
2014-10-01 22:21:29 +00:00
|
|
|
%i.fa.fa-calendar
|
2016-01-06 21:35:17 +00:00
|
|
|
%span= day.strftime('%d %b, %Y')
|
2015-02-20 02:23:10 +00:00
|
|
|
.light
|
|
|
|
= pluralize(commits.count, 'commit')
|
|
|
|
.col-md-10.col-sm-12
|
2014-06-10 19:01:56 +00:00
|
|
|
%ul.bordered-list
|
2015-01-06 23:39:33 +00:00
|
|
|
= render commits, project: project
|
2013-09-10 07:17:15 +00:00
|
|
|
%hr.lists-separator
|