diff options
Diffstat (limited to 'app/views/projects/commits/_commits.html.haml')
-rw-r--r-- | app/views/projects/commits/_commits.html.haml | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/app/views/projects/commits/_commits.html.haml b/app/views/projects/commits/_commits.html.haml index dd12eae8f7e..7283a78a64e 100644 --- a/app/views/projects/commits/_commits.html.haml +++ b/app/views/projects/commits/_commits.html.haml @@ -4,11 +4,18 @@ - commits, hidden = limited_commits(@commits) - commits.chunk { |c| c.committed_date.in_time_zone.to_date }.each do |day, commits| - %li.commit-header= "#{day.strftime('%d %b, %Y')} #{pluralize(commits.count, 'commit')}" - %li.commits-row - %ul.list-unstyled.commit-list - = render commits, project: project + .row.commits-row + .col-md-2.hidden-xs.hidden-sm + %h5.commits-row-date + %i.fa.fa-calendar + %span= day.strftime('%d %b, %Y') + .light + = pluralize(commits.count, 'commit') + .col-md-10.col-sm-12 + %ul.content-list + = render commits, project: project + %hr.lists-separator - if hidden > 0 - %li.alert.alert-warning + .alert.alert-warning #{number_with_delimiter(hidden)} additional commits have been omitted to prevent performance issues. |