summaryrefslogtreecommitdiff
path: root/app/views/projects/commits/_commits.html.haml
blob: 77f795f23f2cebdfb2e66357b16d4aebc8afa6df (plain)
1
2
3
4
5
6
7
8
9
10
11
- @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