gitlab-org--gitlab-foss/app/views/projects/commits/_commits.html.haml
Dmitriy Zaporozhets 1f5891e991
Use more compact bordered-list for commits page
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2014-06-10 22:01:56 +03:00

11 lines
348 B
Text

- @commits.group_by { |c| c.committed_date.to_date }.sort.reverse.each do |day, commits|
.row.commits-row
.col-md-2
%h4
%i.icon-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