debian-mirror-gitlab/app/views/projects/commits/_commits.html.haml

16 lines
459 B
Text
Raw Normal View History

2015-04-26 12:48:37 +05:30
- unless defined?(project)
- project = @project
2014-09-02 18:07:02 +05:30
- @commits.group_by { |c| c.committed_date.to_date }.sort.reverse.each do |day, commits|
.row.commits-row
2015-04-26 12:48:37 +05:30
.col-md-2.hidden-xs.hidden-sm
%h5.commits-row-date
%i.fa.fa-calendar
2014-09-02 18:07:02 +05:30
%span= day.stamp("28 Aug, 2010")
2015-04-26 12:48:37 +05:30
.light
= pluralize(commits.count, 'commit')
.col-md-10.col-sm-12
2014-09-02 18:07:02 +05:30
%ul.bordered-list
2015-04-26 12:48:37 +05:30
= render commits, project: project
2014-09-02 18:07:02 +05:30
%hr.lists-separator