gitlab-org--gitlab-foss/app/views/projects/commits/_commits.html.haml

12 lines
348 B
Text
Raw Normal View History

- @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
.col-md-2
2013-09-09 09:20:43 -04:00
%h4
%i.icon-calendar
%span= day.stamp("28 Aug, 2010")
%p= pluralize(commits.count, 'commit')
.col-md-10
%ul.bordered-list
2013-09-09 09:20:43 -04:00
= render commits, project: @project
2013-09-10 03:17:15 -04:00
%hr.lists-separator