BigW Consortium Gitlab

_commits.html.haml 459 Bytes
Newer Older
1 2 3
- unless defined?(project)
  - project = @project

4
- @commits.group_by { |c| c.committed_date.to_date }.sort.reverse.each do |day, commits|
5
  .row.commits-row
6 7
    .col-md-2.hidden-xs.hidden-sm
      %h5.commits-row-date
8
        %i.fa.fa-calendar
Robert Speicher committed
9
        %span= day.strftime('%d %b, %Y')
10 11 12
      .light
        = pluralize(commits.count, 'commit')
    .col-md-10.col-sm-12
13
      %ul.bordered-list
14
        = render commits, project: project
15
  %hr.lists-separator