gitlab-org--gitlab-foss/app/views/projects/commits/_commits.html.haml
2015-01-17 14:54:54 -08:00

14 lines
399 B
Text

- unless defined?(project)
- project = @project
- @commits.group_by { |c| c.committed_date.to_date }.sort.reverse.each do |day, commits|
.row.commits-row
.col-md-2
%h4
%i.fa.fa-calendar
%span= day.stamp("28 Aug, 2010")
%p= pluralize(commits.count, 'commit')
.col-md-10
%ul.bordered-list
= render commits, project: project
%hr.lists-separator